Imported Upstream version 4.3.1

This commit is contained in:
Mario Fetka
2021-08-10 02:37:58 +02:00
parent a791de49a2
commit 2f177da8f2
2056 changed files with 421730 additions and 1668138 deletions

View File

@@ -4,25 +4,10 @@ persistent=no
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
# FIXME: has to be specified on the command line otherwise pylint fails with
# DuplicateSectionError for the IPA section
#load-plugins=pylint_plugins
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=
_ldap,
cryptography,
gssapi,
netifaces
[CLASSES]
# List of valid names for the first argument in a metaclass class method.
# This can be removed after upgrading to pylint 2.0
valid-metaclass-classmethod-first-arg=cls
jobs=1
[MESSAGES CONTROL]
@@ -31,77 +16,85 @@ enable=
python3
disable=
R,
I,
duplicate-code,
interface-not-implemented,
no-self-use,
redefined-variable-type,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
too-many-nested-blocks,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
invalid-name,
import-error,
abstract-method,
anomalous-backslash-in-string,
arguments-differ,
attribute-defined-outside-init,
bad-builtin,
bad-indentation,
bare-except,
broad-except,
dangerous-default-value,
eval-used,
exec-used,
fixme,
global-statement,
global-variable-not-assigned,
global-variable-undefined,
no-init,
pointless-except,
pointless-statement,
pointless-string-statement,
protected-access,
redefine-in-handler,
redefined-builtin,
redefined-outer-name,
reimported,
relative-import,
super-init-not-called,
undefined-loop-variable,
unnecessary-lambda,
unnecessary-semicolon,
unused-argument,
unused-import,
unused-variable,
unused-wildcard-import,
useless-else-on-loop,
bad-classmethod-argument,
bad-continuation,
bad-mcs-classmethod-argument,
bad-mcs-method-argument,
bad-whitespace,
blacklisted-name,
invalid-name,
line-too-long,
missing-docstring,
multiple-imports,
multiple-statements,
old-style-class,
superfluous-parens,
too-many-lines,
unidiomatic-typecheck,
no-absolute-import,
wildcard-import,
unnecessary-pass,
expression-not-assigned,
unbalanced-tuple-unpacking,
missing-final-newline,
unpacking-non-sequence,
lost-exception,
empty-docstring,
trailing-whitespace,
duplicate-key,
unused-format-string-key,
wrong-import-order,
ungrouped-imports,
wrong-import-position,
unsubscriptable-object,
unsupported-membership-test,
not-an-iterable,
duplicate-except,
singleton-comparison,
misplaced-comparison-constant,
consider-using-enumerate,
unneeded-not,
not-a-mapping,
singleton-comparison,
len-as-condition, # new in pylint 1.7
no-else-return, # new in pylint 1.7
literal-comparison, # new in pylint 1.7
single-string-used-for-slots, # new in pylint 1.7
useless-super-delegation, # new in pylint 1.7
redefined-argument-from-local, # new in pylint 1.7
consider-merging-isinstance, # new in pylint 1.7
bad-option-value, # required to support upgrade to pylint 2.0
assignment-from-no-return, # new in pylint 2.0
keyword-arg-before-vararg, # pylint 2.0, remove after dropping Python 2
useless-object-inheritance, # pylint 2.0, remove after dropping Python 2
consider-using-enumerate, # pylint 2.1, clean up tests later
singleton-comparison
[REPORTS]
@@ -116,18 +109,3 @@ reports=no
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg})'
[VARIABLES]
dummy-variables-rgx=(_.+|unused)
[IPA]
forbidden-imports=
client/:ipaserver,
ipaclient/:ipaclient.install:ipalib.install:ipaserver,
ipaclient/install/:ipaserver,
ipalib/:ipaclient.install:ipalib.install:ipaserver,
ipalib/install/:ipaserver,
ipaplatform/:ipaclient:ipalib:ipaserver,
ipapython/:ipaclient:ipalib:ipaserver