Skip to content
Snippets Groups Projects
Commit 461044ce authored by John Snow's avatar John Snow
Browse files

python: Add iotest linters to test suite


Run mypy and pylint on the iotests files directly from the Python CI
test infrastructure. This ensures that any accidental breakages to the
qemu.[qmp|aqmp|machine|utils] packages will be caught by that test
suite.

It also ensures that these linters are run with well-known versions and
test against a wide variety of python versions, which helps to find
accidental cross-version python compatibility issues.

Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
Reviewed-by: default avatarHanna Reitz <hreitz@redhat.com>
Message-id: 20211019144918.3159078-15-jsnow@redhat.com
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
parent 558dbe99
No related branches found
No related tags found
No related merge requests found
#!/bin/sh -e
cd ../tests/qemu-iotests/
python3 -m linters --mypy
#!/bin/sh -e
cd ../tests/qemu-iotests/
python3 -m linters --pylint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment