]> git.baikalelectronics.ru Git - uboot.git/commit
test: fix pylint errors in u_boot_spawn.py
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 22 Nov 2021 23:01:46 +0000 (00:01 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 26 Nov 2021 21:02:37 +0000 (22:02 +0100)
commit9c53d484edd065a9e814308792bdfffb5c415ee2
treeb3412b4ff7f95f063fccbfab16729c0de17568f8
parent3603b673fd41868ef0bdc5caa61fc243229cac93
test: fix pylint errors in u_boot_spawn.py

* don't inherit from object
* imports should be on the top level
* avoid unused variable names
* avoid unnecessary else after raise

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_spawn.py