From b9a70e5ea24c7c80e8af92a22536827bb65afff4 Mon Sep 17 00:00:00 2001 From: Dmitrii Golovanov Date: Sat, 17 Feb 2024 16:19:41 +0100 Subject: [PATCH] soc: intel_adsp: tools: pylint compliance workaround Disable Pylint compliance check warning `R0801:Similar lines`. Signed-off-by: Dmitrii Golovanov --- soc/intel/intel_adsp/tools/acetool.py | 2 ++ soc/intel/intel_adsp/tools/cavstool.py | 2 ++ soc/intel/intel_adsp/tools/remote-fw-service.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/soc/intel/intel_adsp/tools/acetool.py b/soc/intel/intel_adsp/tools/acetool.py index 0d0897c0234..9dd184b9685 100755 --- a/soc/intel/intel_adsp/tools/acetool.py +++ b/soc/intel/intel_adsp/tools/acetool.py @@ -35,6 +35,8 @@ OUTBOX_OFFSET = (512 + (0 * 128)) * 1024 + 4096 INBOX_OFFSET = (512 + (1 * 128)) * 1024 WINSTREAM_OFFSET = WINDOW_BASE + WINDOW_STRIDE*3 +# pylint: disable=duplicate-code + # ADSPCS bits CRST = 0 CSTALL = 8 diff --git a/soc/intel/intel_adsp/tools/cavstool.py b/soc/intel/intel_adsp/tools/cavstool.py index a28d3c20321..97ce9134379 100755 --- a/soc/intel/intel_adsp/tools/cavstool.py +++ b/soc/intel/intel_adsp/tools/cavstool.py @@ -31,6 +31,8 @@ OUTBOX_OFFSET = (512 + (0 * 128)) * 1024 + 4096 INBOX_OFFSET = (512 + (1 * 128)) * 1024 WINSTREAM_OFFSET = (512 + (3 * 128)) * 1024 +# pylint: disable=duplicate-code + # ADSPCS bits CRST = 0 CSTALL = 8 diff --git a/soc/intel/intel_adsp/tools/remote-fw-service.py b/soc/intel/intel_adsp/tools/remote-fw-service.py index 21e3569721c..1d68a7db2a1 100755 --- a/soc/intel/intel_adsp/tools/remote-fw-service.py +++ b/soc/intel/intel_adsp/tools/remote-fw-service.py @@ -17,6 +17,8 @@ from urllib.parse import urlparse # Global variable use to sync between log and request services. runner = None +# pylint: disable=duplicate-code + # INADDR_ANY as default HOST = '' PORT_LOG = 9999