[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/10] python: temporarily silence pylint duplicate-code warnings
From: |
John Snow |
Subject: |
[PATCH 03/10] python: temporarily silence pylint duplicate-code warnings |
Date: |
Mon, 21 Mar 2022 17:08:40 -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>
---
python/setup.cfg | 1 +
1 file changed, 1 insertion(+)
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.
--
2.34.1
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, (continued)
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, John Snow, 2022/03/23
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, John Snow, 2022/03/24
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, Daniel P . Berrangé, 2022/03/24
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, John Snow, 2022/03/24
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, Eric Blake, 2022/03/25
- Re: [PATCH 01/10] python/aqmp: add explicit GPLv2 license to legacy.py, John Snow, 2022/03/25
[PATCH 03/10] python: temporarily silence pylint duplicate-code warnings,
John Snow <=
[PATCH 02/10] python/aqmp: relicense as GPLv2+, John Snow, 2022/03/21
[PATCH 08/10] python: re-enable pylint duplicate-code warnings, John Snow, 2022/03/21
[PATCH 05/10] python/aqmp: fully separate from qmp.QEMUMonitorProtocol, John Snow, 2022/03/21
[PATCH 07/10] python: remove the old QMP package, John Snow, 2022/03/21
[PATCH 06/10] python/aqmp: copy qmp docstrings to qemu.aqmp.legacy, John Snow, 2022/03/21
[PATCH 04/10] python/aqmp: take QMPBadPortError and parse_address from qemu.qmp, John Snow, 2022/03/21
[PATCH 10/10] python: rename 'aqmp-tui' to 'qmp-tui', John Snow, 2022/03/21
[PATCH 09/10] python: rename qemu.aqmp to qemu.qmp, John Snow, 2022/03/21