[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 16/24] python/pylint: disable too-many-function-args
|
From: |
John Snow |
|
Subject: |
[PATCH v2 16/24] python/pylint: disable too-many-function-args |
|
Date: |
Fri, 16 Jul 2021 20:32:45 -0400 |
too-many-function-args seems prone to failure when considering
things like Method Resolution Order, which mypy gets correct. When
dealing with multiple inheritance, pylint doesn't seem to understand
which method will actually get called, while mypy does.
Remove the less powerful, redundant check.
Signed-off-by: John Snow <jsnow@redhat.com>
---
python/setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/setup.cfg b/python/setup.cfg
index f87e32177ab..19d5e154630 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -88,7 +88,7 @@ ignore_missing_imports = True
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
-disable=
+disable=too-many-function-args, # mypy handles this with less false positives.
[pylint.basic]
# Good variable names which should always be accepted, separated by a comma.
--
2.31.1
- [PATCH v2 06/24] python/aqmp: add runstate state machine to AsyncProtocol, (continued)
- [PATCH v2 06/24] python/aqmp: add runstate state machine to AsyncProtocol, John Snow, 2021/07/16
- [PATCH v2 07/24] python/aqmp: Add logging utility helpers, John Snow, 2021/07/16
- [PATCH v2 08/24] python/aqmp: add logging to AsyncProtocol, John Snow, 2021/07/16
- [PATCH v2 09/24] python/aqmp: add AsyncProtocol.accept() method, John Snow, 2021/07/16
- [PATCH v2 10/24] python/aqmp: add configurable read buffer limit, John Snow, 2021/07/16
- [PATCH v2 12/24] python/aqmp: add AsyncProtocol._readline() method, John Snow, 2021/07/16
- [PATCH v2 13/24] python/aqmp: add QMP Message format, John Snow, 2021/07/16
- [PATCH v2 11/24] python/aqmp: add _cb_inbound and _cb_inbound logging hooks, John Snow, 2021/07/16
- [PATCH v2 16/24] python/pylint: disable too-many-function-args,
John Snow <=
- [PATCH v2 14/24] python/aqmp: add well-known QMP object models, John Snow, 2021/07/16
- [PATCH v2 17/24] python/aqmp: add QMP protocol support, John Snow, 2021/07/16
- [PATCH v2 18/24] python/pylint: disable no-member check, John Snow, 2021/07/16
- [PATCH v2 15/24] python/aqmp: add QMP event support, John Snow, 2021/07/16
- [PATCH v2 19/24] python/aqmp: Add message routing to QMP protocol, John Snow, 2021/07/16
- [PATCH v2 20/24] python/aqmp: add execute() interfaces, John Snow, 2021/07/16
- [PATCH v2 21/24] python/aqmp: add _raw() execution interface, John Snow, 2021/07/16
- [PATCH v2 22/24] python/aqmp: add asyncio_run compatibility wrapper, John Snow, 2021/07/16
- [PATCH v2 23/24] python/aqmp: add scary message, John Snow, 2021/07/16
- [PATCH v2 24/24] python/aqmp: add AsyncProtocol unit tests, John Snow, 2021/07/16