3 # List of plugins (as comma separated values of python modules names) to load,
4 # usually to register additional checkers.
7 # Use multiple processes to speed up Pylint.
10 # A comma-separated list of package or module names from where C extensions may
11 # be loaded. Extensions are loading into the active Python interpreter and may
13 extension-pkg-whitelist=
20 # "F" Fatal errors that prevent further processing
22 # "I" Informational noise
24 # "E" Error for important programming issues (likely bugs)
25 access-member-before-definition,
30 # "W" Warnings for stylistic problems or minor programming issues
33 attribute-defined-outside-init,
36 dangerous-default-value,
38 expression-not-assigned,
43 non-parent-init-called,
50 super-init-not-called,
52 unpacking-non-sequence,
53 useless-super-delegation,
54 nonstandard-exception,
55 # "C" Coding convention violations
57 consider-iterating-dictionary,
58 consider-using-enumerate,
61 misplaced-comparison-constant,
67 # "R" Refactor recommendations
68 abstract-class-little-used,
69 abstract-class-not-used,
70 consider-merging-isinstance,
71 consider-using-ternary,
73 inconsistent-return-statements,
74 interface-not-implemented,
77 redefined-argument-from-local,
78 simplifiable-if-statement,
79 too-few-public-methods,
83 too-many-instance-attributes,
86 too-many-nested-blocks,
87 too-many-public-methods,
88 too-many-return-statements,
92 # Variable names can be 1 to 31 characters long, with lowercase and underscores
93 variable-rgx=[a-z_][a-z0-9_]{0,30}$
95 # Argument names can be 2 to 31 characters long, with lowercase and underscores
96 argument-rgx=[a-z_][a-z0-9_]{1,30}$
98 # Method names should be at least 3 characters long
99 # and be lowercased with underscores
100 method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
102 # Module names matching neutron-* are ok (files in bin/)
103 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
105 # Don't require docstrings on tests.
106 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
108 dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy|args
111 # Maximum number of characters on a single line.
114 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
120 # List of additional names supposed to be defined in builtins. Remember that
121 # you should avoid to define new builtins when possible.
122 # _ is used by our localization
123 additional-builtins=_
127 # List of interface methods to ignore, separated by a comma.
128 ignore-iface-methods=
132 # List of module names for which member attributes should not be checked
133 ignored-modules=six.moves,_MovedItems
137 # Tells whether to display a full report or only the messages
140 # Set the output format. Available formats are text, parseable, colorized, msvs
141 # (visual studio) and html. You can also give a reporter class, eg
142 # mypackage.mymodule.MyReporterClass.
143 output-format=colorized
145 # Python expression which should return a note less than 10 (10 is the highest
146 # note). You have access to the variables errors warning, statement which
147 # respectively contain the number of errors / warnings messages and the total
148 # number of statements analyzed. This is used by the global evaluation report
150 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
155 # List of note tags to take in consideration, separated by a comma.