mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
45e3aee352
Unused variables may: * make code less readable * create dead code * potentialy hide issues/errors Enabled check should prevent to leave unused variable in code Check is locally disabled for modules that fix is not clear or easy or have too many occurences of unused variables Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
99 lines
2.3 KiB
INI
99 lines
2.3 KiB
INI
[MASTER]
|
|
# Pickle collected data for later comparisons.
|
|
persistent=no
|
|
|
|
# List of plugins (as comma separated values of python modules names) to load,
|
|
# usually to register additional checkers.
|
|
load-plugins=pylint_plugins
|
|
|
|
# Use multiple processes to speed up Pylint.
|
|
jobs=0
|
|
|
|
[MESSAGES CONTROL]
|
|
|
|
enable=
|
|
all,
|
|
python3
|
|
|
|
disable=
|
|
I,
|
|
duplicate-code,
|
|
import-error,
|
|
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,
|
|
import-error,
|
|
abstract-method,
|
|
anomalous-backslash-in-string,
|
|
arguments-differ,
|
|
attribute-defined-outside-init,
|
|
bad-builtin,
|
|
bad-indentation,
|
|
broad-except,
|
|
dangerous-default-value,
|
|
eval-used,
|
|
exec-used,
|
|
fixme,
|
|
global-statement,
|
|
no-init,
|
|
pointless-string-statement,
|
|
protected-access,
|
|
redefined-builtin,
|
|
redefined-outer-name,
|
|
super-init-not-called,
|
|
undefined-loop-variable,
|
|
unnecessary-lambda,
|
|
unused-argument,
|
|
useless-else-on-loop,
|
|
bad-continuation,
|
|
bad-whitespace,
|
|
blacklisted-name,
|
|
invalid-name,
|
|
line-too-long,
|
|
missing-docstring,
|
|
multiple-statements,
|
|
superfluous-parens,
|
|
too-many-lines,
|
|
unidiomatic-typecheck,
|
|
no-absolute-import,
|
|
wrong-import-order,
|
|
ungrouped-imports,
|
|
wrong-import-position,
|
|
unsubscriptable-object,
|
|
unsupported-membership-test,
|
|
not-an-iterable,
|
|
singleton-comparison,
|
|
misplaced-comparison-constant,
|
|
not-a-mapping,
|
|
singleton-comparison
|
|
|
|
|
|
[REPORTS]
|
|
|
|
# Set the output format. Available formats are text, parseable, colorized, msvs
|
|
# (visual studio) and html. You can also give a reporter class, eg
|
|
# mypackage.mymodule.MyReporterClass.
|
|
output-format=colorized
|
|
|
|
# Tells whether to display a full report or only the messages
|
|
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=_.+
|