| 1 |
[MASTER] |
| 2 |
# Pickle collected data for later comparisons. |
| 3 |
persistent=no |
| 4 |
|
| 5 |
# List of plugins (as comma separated values of python modules names) to load, |
| 6 |
# usually to register additional checkers. |
| 7 |
# FIXME: has to be specified on the command line otherwise pylint fails with |
| 8 |
# DuplicateSectionError for the IPA section |
| 9 |
#load-plugins=pylint_plugins |
| 10 |
|
| 11 |
# Use multiple processes to speed up Pylint. |
| 12 |
jobs=0 |
| 13 |
|
| 14 |
# A list of packages with safe C extensions to load |
| 15 |
extension-pkg-whitelist= |
| 16 |
_ldap, |
| 17 |
cryptography, |
| 18 |
gssapi, |
| 19 |
netifaces |
| 20 |
|
| 21 |
[CLASSES] |
| 22 |
|
| 23 |
# List of valid names for the first argument in a metaclass class method. |
| 24 |
# This can be removed after upgrading to pylint 2.0 |
| 25 |
valid-metaclass-classmethod-first-arg=cls |
| 26 |
|
| 27 |
[MESSAGES CONTROL] |
| 28 |
|
| 29 |
enable= |
| 30 |
all, |
| 31 |
python3, |
| 32 |
useless-suppression, |
| 33 |
|
| 34 |
disable= |
| 35 |
bad-inline-option, |
| 36 |
c-extension-no-member, |
| 37 |
deprecated-pragma, |
| 38 |
file-ignored, |
| 39 |
locally-disabled, |
| 40 |
raw-checker-failed, |
| 41 |
suppressed-message, |
| 42 |
use-symbolic-message-instead, |
| 43 |
duplicate-code, |
| 44 |
interface-not-implemented, |
| 45 |
no-self-use, |
| 46 |
redefined-variable-type, |
| 47 |
too-few-public-methods, |
| 48 |
too-many-ancestors, |
| 49 |
too-many-arguments, |
| 50 |
too-many-boolean-expressions, |
| 51 |
too-many-branches, |
| 52 |
too-many-instance-attributes, |
| 53 |
too-many-locals, |
| 54 |
too-many-nested-blocks, |
| 55 |
too-many-public-methods, |
| 56 |
too-many-return-statements, |
| 57 |
too-many-statements, |
| 58 |
abstract-method, |
| 59 |
anomalous-backslash-in-string, |
| 60 |
arguments-differ, |
| 61 |
attribute-defined-outside-init, |
| 62 |
bad-builtin, |
| 63 |
bad-indentation, |
| 64 |
broad-except, |
| 65 |
dangerous-default-value, |
| 66 |
eval-used, |
| 67 |
exec-used, |
| 68 |
fixme, |
| 69 |
global-statement, |
| 70 |
no-init, |
| 71 |
pointless-string-statement, |
| 72 |
protected-access, |
| 73 |
redefined-builtin, |
| 74 |
redefined-outer-name, |
| 75 |
super-init-not-called, |
| 76 |
undefined-loop-variable, |
| 77 |
unnecessary-lambda, |
| 78 |
unused-argument, |
| 79 |
useless-else-on-loop, |
| 80 |
bad-continuation, |
| 81 |
bad-whitespace, |
| 82 |
blacklisted-name, |
| 83 |
invalid-name, |
| 84 |
line-too-long, |
| 85 |
missing-docstring, |
| 86 |
multiple-statements, |
| 87 |
superfluous-parens, |
| 88 |
too-many-lines, |
| 89 |
unidiomatic-typecheck, |
| 90 |
no-absolute-import, |
| 91 |
wrong-import-order, |
| 92 |
ungrouped-imports, |
| 93 |
wrong-import-position, |
| 94 |
unsubscriptable-object, |
| 95 |
unsupported-membership-test, |
| 96 |
not-an-iterable, |
| 97 |
singleton-comparison, |
| 98 |
misplaced-comparison-constant, |
| 99 |
not-a-mapping, |
| 100 |
singleton-comparison, |
| 101 |
len-as-condition, # new in pylint 1.7 |
| 102 |
no-else-return, # new in pylint 1.7 |
| 103 |
single-string-used-for-slots, # new in pylint 1.7 |
| 104 |
useless-super-delegation, # new in pylint 1.7 |
| 105 |
redefined-argument-from-local, # new in pylint 1.7 |
| 106 |
consider-merging-isinstance, # new in pylint 1.7 |
| 107 |
bad-option-value, # required to support upgrade to pylint 2.0 |
| 108 |
assignment-from-no-return, # new in pylint 2.0 |
| 109 |
keyword-arg-before-vararg, # pylint 2.0, remove after dropping Python 2 |
| 110 |
consider-using-enumerate, # pylint 2.1, clean up tests later |
| 111 |
no-else-raise, # python 2.4.0 |
| 112 |
import-outside-toplevel, # pylint 2.4.2 |
| 113 |
f-string-without-interpolation, # pylint 2.5.0, bare f-strings are ok |
| 114 |
super-with-arguments, # pylint 2.6.0, zero-length form is syntactic sugar |
| 115 |
raise-missing-from, # pylint 2.6.0, implicit exception chaining is ok |
| 116 |
consider-using-with, # pylint 2.8.0, contextmanager is not mandatory |
| 117 |
consider-using-max-builtin, # pylint 2.8.0, can be more readable |
| 118 |
consider-using-min-builtin, # pylint 2.8.0, can be more readable |
| 119 |
redundant-u-string-prefix, # pylint 2.10.0, too many unessential changes |
| 120 |
consider-using-f-string, # pylint 2.11.0, format can be more readable |
| 121 |
use-dict-literal, # pylint 2.10.0 dict vs {} |
| 122 |
use-list-literal, # pylint 2.10.0 list() vs [] |
| 123 |
unspecified-encoding, # pylint 2.10.0, ASCII or UTF8 and platform-specific |
| 124 |
use-implicit-booleaness-not-comparison, # pylint 2.12.2, weak comparison |
| 125 |
|
| 126 |
[REPORTS] |
| 127 |
|
| 128 |
# Set the output format. Available formats are text, parseable, colorized, msvs |
| 129 |
# (visual studio) and html. You can also give a reporter class, eg |
| 130 |
# mypackage.mymodule.MyReporterClass. |
| 131 |
output-format=colorized |
| 132 |
|
| 133 |
# Tells whether to display a full report or only the messages |
| 134 |
reports=no |
| 135 |
|
| 136 |
# Template used to display messages. This is a python new-style format string |
| 137 |
# used to format the message information. See doc for all details |
| 138 |
msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg})' |
| 139 |
|
| 140 |
|
| 141 |
[VARIABLES] |
| 142 |
dummy-variables-rgx=(_.+|unused) |
| 143 |
|
| 144 |
|
| 145 |
[IPA] |
| 146 |
forbidden-imports= |
| 147 |
client/:ipaserver, |
| 148 |
ipaclient/:ipaclient.install:ipalib.install:ipaserver, |
| 149 |
ipaclient/install/:ipaserver, |
| 150 |
ipalib/:ipaclient.install:ipalib.install:ipaserver, |
| 151 |
ipalib/install/:ipaserver, |
| 152 |
ipaplatform/:ipaclient:ipalib:ipaserver, |
| 153 |
ipapython/:ipaclient:ipalib:ipaserver |
| 154 |
ipatests/pytest_ipa:ipaserver:ipaclient.install:ipalib.install |
| 155 |
ipatests/test_integration:ipaserver |