[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/17] python: temporarily silence pylint duplicate-code warnings
From: |
John Snow |
Subject: |
[PULL 09/17] python: temporarily silence pylint duplicate-code warnings |
Date: |
Thu, 21 Apr 2022 11:15:52 -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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/setup.cfg b/python/setup.cfg
index 241f243e8b9..cdeced44d2b 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
- [PULL 06/17] python/aqmp: relicense as LGPLv2+, (continued)
- [PULL 06/17] python/aqmp: relicense as LGPLv2+, John Snow, 2022/04/21
- [PULL 12/17] python/aqmp: copy qmp docstrings to qemu.aqmp.legacy, John Snow, 2022/04/21
- [PULL 10/17] python/aqmp: take QMPBadPortError and parse_address from qemu.qmp, John Snow, 2022/04/21
- [PULL 11/17] python/aqmp: fully separate from qmp.QEMUMonitorProtocol, John Snow, 2022/04/21
- [PULL 14/17] python: re-enable pylint duplicate-code warnings, John Snow, 2022/04/21
- [PULL 17/17] python/qmp: remove pylint workaround from legacy.py, John Snow, 2022/04/21
- [PULL 13/17] python: remove the old QMP package, John Snow, 2022/04/21
- [PULL 01/17] python/machine: permanently switch to AQMP, John Snow, 2022/04/21
- [PULL 04/17] iotests: switch to AQMP, John Snow, 2022/04/21
- [PULL 16/17] python: rename 'aqmp-tui' to 'qmp-tui', John Snow, 2022/04/21
- [PULL 09/17] python: temporarily silence pylint duplicate-code warnings,
John Snow <=
- [PULL 15/17] python: rename qemu.aqmp to qemu.qmp, John Snow, 2022/04/21
- Re: [PULL 00/17] Python patches, Richard Henderson, 2022/04/21