aboutsummaryrefslogtreecommitdiff
path: root/python/setup.cfg
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-09-15 12:29:44 -0400
committerJohn Snow <jsnow@redhat.com>2021-09-27 12:10:29 -0400
commit29a8ea9ba2e5b514e969d9f7660755eb98d9922b (patch)
tree8280c333ca1c473afed2fd8c8fa08f66462ad2ba /python/setup.cfg
parentb3cda213a739e4e28ef7fe69a1a7e0f483e5c60c (diff)
python/pylint: disable too-many-function-args
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> Message-id: 20210915162955.333025-17-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/setup.cfg')
-rw-r--r--python/setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index 9b67afd33e..70957ab7e4 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -89,6 +89,7 @@ ignore_missing_imports = True
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=consider-using-f-string,
+ 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.