]> git.proxmox.com Git - mirror_qemu.git/commit
python: Add iotest linters to test suite
authorJohn Snow <jsnow@redhat.com>
Tue, 19 Oct 2021 14:49:17 +0000 (10:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 1 Nov 2021 15:54:59 +0000 (11:54 -0400)
commit461044ceb4fe58eb919dedfeb62f619f79d4d552
treea889e02bdafe0d85cd88678c2a5032dc907921a4
parent558dbe9935445af6ab20e18b3664ba6c43eb2311
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: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-id: 20211019144918.3159078-15-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/tests/iotests-mypy.sh [new file with mode: 0755]
python/tests/iotests-pylint.sh [new file with mode: 0755]