pylint: Get rid of some customizations in pylintrc
This commit is contained in:
parent
9755a9b00f
commit
a42d99a8b7
11
.pylintrc
11
.pylintrc
@ -10,7 +10,6 @@ load-plugins=pylint_checkers.config,
|
|||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
disable=no-self-use,
|
disable=no-self-use,
|
||||||
bad-builtin,
|
|
||||||
fixme,
|
fixme,
|
||||||
global-statement,
|
global-statement,
|
||||||
locally-disabled,
|
locally-disabled,
|
||||||
@ -22,12 +21,7 @@ disable=no-self-use,
|
|||||||
too-many-instance-attributes,
|
too-many-instance-attributes,
|
||||||
blacklisted-name,
|
blacklisted-name,
|
||||||
too-many-lines,
|
too-many-lines,
|
||||||
logging-format-interpolation,
|
|
||||||
interface-not-implemented,
|
|
||||||
broad-except,
|
broad-except,
|
||||||
bare-except,
|
|
||||||
eval-used,
|
|
||||||
exec-used,
|
|
||||||
file-ignored,
|
file-ignored,
|
||||||
wrong-import-order,
|
wrong-import-order,
|
||||||
ungrouped-imports,
|
ungrouped-imports,
|
||||||
@ -35,15 +29,12 @@ disable=no-self-use,
|
|||||||
redefined-variable-type
|
redefined-variable-type
|
||||||
|
|
||||||
[BASIC]
|
[BASIC]
|
||||||
module-rgx=(__)?[a-z][a-z0-9_]*(__)?$
|
function-rgx=[a-z_][a-z0-9_]{2,50}$
|
||||||
function-rgx=([a-z_][a-z0-9_]{2,50}|setUpModule|tearDownModule)$
|
|
||||||
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
|
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
|
||||||
method-rgx=[a-z_][A-Za-z0-9_]{2,50}$
|
method-rgx=[a-z_][A-Za-z0-9_]{2,50}$
|
||||||
attr-rgx=[a-z_][a-z0-9_]{0,30}$
|
attr-rgx=[a-z_][a-z0-9_]{0,30}$
|
||||||
argument-rgx=[a-z_][a-z0-9_]{0,30}$
|
argument-rgx=[a-z_][a-z0-9_]{0,30}$
|
||||||
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
||||||
class-attribute-rgx=[A-Za-z_][A-Za-z0-9_]{1,30}$
|
|
||||||
inlinevar-rgx=[a-z_][a-z0-9_]*$
|
|
||||||
docstring-min-length=3
|
docstring-min-length=3
|
||||||
|
|
||||||
[FORMAT]
|
[FORMAT]
|
||||||
|
Loading…
Reference in New Issue
Block a user