[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 19/25] python: temporarily silence pylint duplicate-code warni
From: |
John Snow |
Subject: |
[PATCH v2 19/25] python: temporarily silence pylint duplicate-code warnings |
Date: |
Wed, 15 Dec 2021 14:39:33 -0500 |
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>
---
python/setup.cfg | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/setup.cfg b/python/setup.cfg
index 168a79c867..510df23698 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -115,6 +115,7 @@ ignore_missing_imports = True
disable=consider-using-f-string,
too-many-function-args, # mypy handles this with less false positives.
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.
--
2.31.1
- Re: [PATCH v2 15/25] scripts/render-block-graph: switch to AQMP, (continued)
- [PATCH v2 16/25] scripts/bench-block-job: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 17/25] iotests/mirror-top-perms: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 18/25] iotests: switch to AQMP, John Snow, 2021/12/15
- [PATCH v2 19/25] python: temporarily silence pylint duplicate-code warnings,
John Snow <=
- [PATCH v2 21/25] python/aqmp: fully separate from qmp.QEMUMonitorProtocol, John Snow, 2021/12/15
- [PATCH v2 20/25] python/aqmp: take QMPBadPortError and parse_address from qemu.qmp, John Snow, 2021/12/15
- [PATCH v2 24/25] python: re-enable pylint duplicate-code warnings, John Snow, 2021/12/15