diff --git a/scripts/footprint/compare_footprint b/scripts/footprint/compare_footprint index 03719054a77..3e03ac4c46e 100755 --- a/scripts/footprint/compare_footprint +++ b/scripts/footprint/compare_footprint @@ -125,7 +125,7 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'), proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, cwd=cwd, shell=True) - output,error=proc.communicate() + output,_ = proc.communicate() if proc.wait() == 0: logger.debug(output) return True diff --git a/scripts/pylib/twister/scl.py b/scripts/pylib/twister/scl.py index 2ba6c0e9c29..78ca9d68a35 100644 --- a/scripts/pylib/twister/scl.py +++ b/scripts/pylib/twister/scl.py @@ -3,6 +3,8 @@ # SPDX-License-Identifier: Apache-2.0 # Zephyr's Sanity Check library # +# pylint: disable=unused-import +# # Set of code that other projects can also import to do things on # Zephyr's sanity check testcases.