tests/functional: Fix various problems reported by pylint
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tests/functional: Fix problems in asset.py reported by pylinttests/ | +13 | 0 replies | |
| 2/6 | tests/functional: Fix problems in decorators.py reported by pylinttests/ | +87 | 1 reply | |
| 3/6 | tests/functional: Fix problems in linuxkerenl.py reported by pylinttests/ | +5 | 3 replies | |
| 4/6 | tests/functional: Fix problems in testcase.py reported by pylinttests/ | +126 | 2 replies | |
| 5/6 | tests/functional: Fix problems in uncompress.py reported by pylinttests/ | +20 | 1 reply | |
| 6/6 | tests/functional: Fix problems in utils.py reported by pylinttests/ | +11 | 1 reply |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] tests/functional: Fix various problems reported by pylint
Using pylint to improve the code quality in the tests/functional/qemu_test a little bit, for example:
- put the doc strings in the right locations (after the "def" line, not in front of it)
- use the right indentation everywhere (4 spaces)
- use isinstance() instead of checking via type()
- use lazy logging strings
Thomas Huth (6):
tests/functional: Fix problems in asset.py reported by pylint tests/functional: Fix problems in decorators.py reported by pylint tests/functional: Fix problems in linuxkerenl.py reported by pylint tests/functional: Fix problems in testcase.py reported by pylint tests/functional: Fix problems in uncompress.py reported by pylint tests/functional: Fix problems in utils.py reported by pylint
tests/functional/qemu_test/asset.py | 24 ++- tests/functional/qemu_test/decorators.py | 176 ++++++++------- tests/functional/qemu_test/linuxkernel.py | 10 +- tests/functional/qemu_test/testcase.py | 251 +++++++++++----------- tests/functional/qemu_test/uncompress.py | 40 ++-- tests/functional/qemu_test/utils.py | 22 +- 6 files changed, 262 insertions(+), 261 deletions(-)
Signature · 1 line
2.51.0