2016-01-15 09:58:38 -06:00
|
|
|
[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.
|
2017-02-14 02:58:44 -06:00
|
|
|
# FIXME: has to be specified on the command line otherwise pylint fails with
|
|
|
|
# DuplicateSectionError for the IPA section
|
|
|
|
#load-plugins=pylint_plugins
|
2016-01-15 09:58:38 -06:00
|
|
|
|
|
|
|
# Use multiple processes to speed up Pylint.
|
2016-03-01 08:42:48 -06:00
|
|
|
jobs=0
|
2016-01-15 09:58:38 -06:00
|
|
|
|
2016-11-18 04:31:36 -06:00
|
|
|
# A list of packages with safe C extensions to load
|
|
|
|
extension-pkg-whitelist=
|
|
|
|
_ldap,
|
|
|
|
cryptography,
|
|
|
|
gssapi,
|
2017-03-30 05:26:29 -05:00
|
|
|
netifaces
|
2016-11-18 04:31:36 -06:00
|
|
|
|
|
|
|
|
2016-01-15 09:58:38 -06:00
|
|
|
[MESSAGES CONTROL]
|
|
|
|
|
|
|
|
enable=
|
|
|
|
all,
|
|
|
|
python3
|
|
|
|
|
|
|
|
disable=
|
|
|
|
I,
|
2016-05-19 07:25:31 -05:00
|
|
|
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,
|
2016-01-15 09:58:38 -06:00
|
|
|
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,
|
2016-02-17 05:57:30 -06:00
|
|
|
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,
|
2017-05-26 14:41:40 -05:00
|
|
|
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
|
2016-01-15 09:58:38 -06:00
|
|
|
|
|
|
|
|
|
|
|
[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})'
|
2016-09-26 11:24:39 -05:00
|
|
|
|
|
|
|
|
|
|
|
[VARIABLES]
|
|
|
|
dummy-variables-rgx=_.+
|
2017-02-14 02:58:44 -06:00
|
|
|
|
|
|
|
|
|
|
|
[IPA]
|
|
|
|
forbidden-imports=
|
|
|
|
client/:ipaserver,
|
2017-10-11 05:09:30 -05:00
|
|
|
ipaclient/:ipaclient.install:ipalib.install:ipaserver,
|
2017-02-14 02:58:44 -06:00
|
|
|
ipaclient/install/:ipaserver,
|
2017-10-11 05:09:30 -05:00
|
|
|
ipalib/:ipaclient.install:ipalib.install:ipaserver,
|
2017-02-14 02:58:44 -06:00
|
|
|
ipalib/install/:ipaserver,
|
|
|
|
ipaplatform/:ipaclient:ipalib:ipaserver,
|
2017-10-11 05:09:30 -05:00
|
|
|
ipapython/:ipaclient:ipalib:ipaserver
|