]> git.proxmox.com Git - mirror_qemu.git/commitdiff
python: temporarily silence pylint duplicate-code warnings
authorJohn Snow <jsnow@redhat.com>
Wed, 30 Mar 2022 17:28:04 +0000 (13:28 -0400)
committerJohn Snow <jsnow@redhat.com>
Thu, 21 Apr 2022 15:01:00 +0000 (11:01 -0400)
The next several commits copy some code from qemu.qmp to qemu.aqmp, then
delete qemu.qmp. In the interim, to prevent test failures, the duplicate
code detection needs to be silenced to prevent bisect problems with CI
testing.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20220330172812.3427355-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/setup.cfg

index 241f243e8b94417f9b032c41576b3fe84b7aae9d..cdeced44d2b2034293a0c385887cb1918720f891 100644 (file)
@@ -119,6 +119,7 @@ disable=consider-using-f-string,
         too-many-function-args,  # mypy handles this with less false positives.
         too-many-instance-attributes,
         no-member,  # mypy also handles this better.
+        duplicate-code,  # To be removed by the end of this patch series.
 
 [pylint.basic]
 # Good variable names which should always be accepted, separated by a comma.