twister: fixed pylint issues
Fixed import and unused variable warning. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
9318e6c8f7
commit
5725ed8dd1
2 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,7 @@ def run_sanity_footprint(commit=None, cwd=os.environ.get('ZEPHYR_BASE'),
|
||||||
|
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||||
cwd=cwd, shell=True)
|
cwd=cwd, shell=True)
|
||||||
output,error=proc.communicate()
|
output,_ = proc.communicate()
|
||||||
if proc.wait() == 0:
|
if proc.wait() == 0:
|
||||||
logger.debug(output)
|
logger.debug(output)
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# Zephyr's Sanity Check library
|
# Zephyr's Sanity Check library
|
||||||
#
|
#
|
||||||
|
# pylint: disable=unused-import
|
||||||
|
#
|
||||||
# Set of code that other projects can also import to do things on
|
# Set of code that other projects can also import to do things on
|
||||||
# Zephyr's sanity check testcases.
|
# Zephyr's sanity check testcases.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue