pylint: Ignore super-with-arguments

Pylint 2.6.0 added new check:
> Add super-with-arguments check for flagging instances of Python 2
style super calls.

According to PEP 3135 this form of `super` is syntactic sugar and
is not mandatory. Right now there are 566 affected `super`s.

http://pylint.pycqa.org/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-6-0
https://www.python.org/dev/peps/pep-3135/

Fixes: https://pagure.io/freeipa/issue/8468
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Stanislav Levin
2020-08-22 12:20:31 +03:00
committed by Alexander Bokovoy
parent 6e85872528
commit ec6369ca00

View File

@@ -103,6 +103,7 @@ disable=
no-else-raise, # python 2.4.0
import-outside-toplevel, # pylint 2.4.2
f-string-without-interpolation, # pylint 2.5.0, bare f-strings are ok
super-with-arguments, # pylint 2.6.0, zero-length form is syntactic sugar
[REPORTS]