python/qemu: delint and add pylintrc
commit9b8ccd6d5b81f10436764bf7e334e087f3918d12
authorJohn Snow <jsnow@redhat.com>
Thu, 28 May 2020 22:21:28 +0000 (28 18:21 -0400)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 31 May 2020 16:25:30 +0000 (31 18:25 +0200)
tree66909a96a6c62bfbdf349b49ddd6a725a7f35141
parent053774bdecf60c0500d66a05e02e48ff24ab23cf
python/qemu: delint and add pylintrc

Bring our these files up to speed with pylint 2.5.0.
Add a pylintrc file to formalize which pylint subset
we are targeting.

The similarity ignore is there to suppress similarity
reports across imports, which for typing constants,
are going to trigger this report erroneously.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200528222129.23826-4-jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
python/qemu/machine.py
python/qemu/pylintrc [new file with mode: 0644]
python/qemu/qtest.py