Import Upstream version 4.12.4
This commit is contained in:
32
pylintrc
32
pylintrc
@@ -8,15 +8,13 @@ persistent=no
|
||||
# DuplicateSectionError for the IPA section
|
||||
#load-plugins=pylint_plugins
|
||||
|
||||
# Use multiple processes to speed up Pylint.
|
||||
jobs=0
|
||||
|
||||
# A list of packages with safe C extensions to load
|
||||
extension-pkg-whitelist=
|
||||
extension-pkg-allow-list=
|
||||
_ldap,
|
||||
cryptography,
|
||||
gssapi,
|
||||
netifaces
|
||||
lxml.etree,
|
||||
pysss_murmur,
|
||||
|
||||
[CLASSES]
|
||||
|
||||
@@ -28,10 +26,18 @@ valid-metaclass-classmethod-first-arg=cls
|
||||
|
||||
enable=
|
||||
all,
|
||||
python3
|
||||
python3,
|
||||
useless-suppression,
|
||||
|
||||
disable=
|
||||
I,
|
||||
bad-inline-option,
|
||||
c-extension-no-member,
|
||||
deprecated-pragma,
|
||||
file-ignored,
|
||||
locally-disabled,
|
||||
raw-checker-failed,
|
||||
suppressed-message,
|
||||
use-symbolic-message-instead,
|
||||
duplicate-code,
|
||||
interface-not-implemented,
|
||||
no-self-use,
|
||||
@@ -105,6 +111,18 @@ disable=
|
||||
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
|
||||
raise-missing-from, # pylint 2.6.0, implicit exception chaining is ok
|
||||
consider-using-with, # pylint 2.8.0, contextmanager is not mandatory
|
||||
consider-using-max-builtin, # pylint 2.8.0, can be more readable
|
||||
consider-using-min-builtin, # pylint 2.8.0, can be more readable
|
||||
redundant-u-string-prefix, # pylint 2.10.0, too many unessential changes
|
||||
consider-using-f-string, # pylint 2.11.0, format can be more readable
|
||||
use-dict-literal, # pylint 2.10.0 dict vs {}
|
||||
use-list-literal, # pylint 2.10.0 list() vs []
|
||||
unspecified-encoding, # pylint 2.10.0, ASCII or UTF8 and platform-specific
|
||||
use-implicit-booleaness-not-comparison, # pylint 2.12.2, weak comparison
|
||||
use-implicit-booleaness-not-comparison-to-string,
|
||||
use-implicit-booleaness-not-comparison-to-zero,
|
||||
broad-exception-raised,
|
||||
|
||||
[REPORTS]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user