On 16/1/26 10:56, Thomas Huth wrote:
From: Thomas Huth <[email protected]>

Pylint complains:

  tests/functional/riscv64/test_boston.py:1:0: C0114:
   Missing module docstring (missing-module-docstring)
  tests/functional/riscv64/test_boston.py:95:8: C0415:
   Import outside toplevel (subprocess.run, subprocess.PIPE) 
(import-outside-toplevel)
  tests/functional/riscv64/test_boston.py:112:17: W1510:
   'subprocess.run' used without explicitly defining the value for 'check'. 
(subprocess-run-check)
  tests/functional/riscv64/test_boston.py:95:8: W0611:
   Unused PIPE imported from subprocess (unused-import)

Rework the code a little bit to make the linter happy.

Signed-off-by: Thomas Huth <[email protected]>
---
  tests/functional/riscv64/test_boston.py | 11 +++++++----
  1 file changed, 7 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to