summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorJohn Snow2022-03-30 19:28:04 +0200
committerJohn Snow2022-04-21 17:01:00 +0200
commit335e7d410ed4cdf91ac930242d9d7b8bca0746b7 (patch)
tree54b6d2b1cc0ba362eb3cf7a26b4ee6d57a07df0d /python
parentpython/aqmp-tui: relicense as LGPLv2+ (diff)
downloadqemu-335e7d410ed4cdf91ac930242d9d7b8bca0746b7.tar.gz
qemu-335e7d410ed4cdf91ac930242d9d7b8bca0746b7.tar.xz
qemu-335e7d410ed4cdf91ac930242d9d7b8bca0746b7.zip
python: temporarily silence pylint duplicate-code warnings
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>
Diffstat (limited to 'python')
-rw-r--r--python/setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index 241f243e8b..cdeced44d2 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -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.