]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
python: disable too-many-positional-arguments warning
authorJohn Snow <jsnow@redhat.com>
Fri, 1 Nov 2024 17:36:59 +0000 (13:36 -0400)
committerKevin Wolf <kwolf@redhat.com>
Mon, 25 Nov 2024 10:03:14 +0000 (11:03 +0100)
Newest versions of pylint complain about specifically positional
arguments in addition to too many in general. We already disable the
general case, so silence this new warning too.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20241101173700.965776-4-jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
python/setup.cfg
tests/qemu-iotests/pylintrc

index 3b4e2cc5501864679f67b006ab9a0a0163038ed8..cf5af7e6641029f7d1de766d63f69aa979213d6d 100644 (file)
@@ -142,6 +142,7 @@ ignore_missing_imports = True
 disable=consider-using-f-string,
         consider-using-with,
         too-many-arguments,
+        too-many-positional-arguments,
         too-many-function-args,  # mypy handles this with less false positives.
         too-many-instance-attributes,
         no-member,  # mypy also handles this better.
index 05b75ee59bf5b54e99c5805438e0fab383ac8c20..c5f4833e458f78f2b0f6814099be268109bed64c 100644 (file)
@@ -13,6 +13,7 @@ disable=invalid-name,
         no-else-return,
         too-few-public-methods,
         too-many-arguments,
+        too-many-positional-arguments,
         too-many-branches,
         too-many-lines,
         too-many-locals,