2018-03-27 20:30:46 +02:00
|
|
|
# See https://www.pylint.org/
|
|
|
|
[BASIC]
|
|
|
|
# Permit 2 character & long argument names, like db
|
|
|
|
argument-rgx=[a-z_][a-z0-9_]{1,50}$
|
|
|
|
# Long attribute names
|
|
|
|
attr-rgx=[a-z_][a-z0-9_]{2,50}$
|
|
|
|
# Long function names
|
|
|
|
function-rgx=[a-z_][a-z0-9_]{2,50}$
|
|
|
|
# Long method names
|
|
|
|
method-rgx=[a-z_][a-z0-9_]{2,50}$
|
|
|
|
# Permit 2 character & long variable names, like sb
|
|
|
|
variable-rgx=[a-z_][a-z0-9_]{1,50}$
|
|
|
|
|
|
|
|
[MESSAGES CONTROL]
|
|
|
|
# C0301 - line-too-long - some of the type annotations are longer then 100 columns
|
|
|
|
# C0330 - bad-continuation - ignore conflicts produced by yapf formatting
|
|
|
|
# E0401 - import-error - ignore imports that fail to load
|
|
|
|
# E1101 - no-member - ignore maybe no member warnings
|
|
|
|
# I0011 - locally-disabled - ignore warnings about disable pylint checks
|
|
|
|
# R0204 - redefined-variable-type
|
|
|
|
# R0903 - too-few-public-methods - pylint does not always know best
|
2018-12-20 17:47:20 +01:00
|
|
|
# R1705 - no-else-return - sometimes an unnecessary else helps readability
|
2018-03-27 20:30:46 +02:00
|
|
|
# W0511 - fixme - ignore TODOs in comments
|
|
|
|
# W0611 - unused-import - typing module is needed for mypy
|
2019-02-19 16:50:57 +01:00
|
|
|
# R0205 - useless-object-inheritance - See PM-1380
|
|
|
|
# W0402 - deprecated-module - See PM-1380
|
|
|
|
# W1505 - deprecated-method - See PM-1380
|
|
|
|
# W0107 - unnecessary-pass - See PM-1380
|
|
|
|
# R1720 - no-else-raise - See PM-1380
|
|
|
|
# W0122 - exec-used - See PM-1380
|
|
|
|
# R0801 - duplicate-code - See PM-1380
|
2019-04-16 20:33:43 +02:00
|
|
|
# E0611 - no-name-in-module
|
2018-03-27 20:30:46 +02:00
|
|
|
|
2023-01-25 05:04:01 +01:00
|
|
|
disable=
|
|
|
|
bad-continuation,
|
|
|
|
bare-except,
|
|
|
|
broad-except,
|
|
|
|
consider-using-sys-exit,
|
|
|
|
deprecated-method,
|
|
|
|
deprecated-module,
|
|
|
|
duplicate-code,
|
|
|
|
exec-used,
|
|
|
|
fixme,
|
|
|
|
import-error,
|
|
|
|
import-outside-toplevel,
|
|
|
|
line-too-long,
|
|
|
|
locally-disabled,
|
|
|
|
missing-class-docstring,
|
|
|
|
missing-docstring,
|
|
|
|
missing-function-docstring,
|
|
|
|
missing-module-docstring,
|
|
|
|
no-else-break,
|
|
|
|
no-else-continue,
|
|
|
|
no-else-raise,
|
|
|
|
no-else-return,
|
|
|
|
no-member,
|
|
|
|
no-name-in-module,
|
|
|
|
no-self-use,
|
|
|
|
raise-missing-from,
|
|
|
|
redefined-variable-type,
|
|
|
|
subprocess-run-check,
|
|
|
|
super-with-arguments,
|
|
|
|
too-few-public-methods,
|
|
|
|
too-many-arguments,
|
|
|
|
too-many-branches,
|
|
|
|
too-many-function-args,
|
|
|
|
too-many-instance-attributes,
|
|
|
|
too-many-lines,
|
|
|
|
too-many-locals,
|
|
|
|
too-many-public-methods,
|
|
|
|
too-many-return-statements,
|
|
|
|
too-many-statements,
|
|
|
|
unidiomatic-typecheck,
|
|
|
|
unnecessary-comprehension,
|
|
|
|
unnecessary-pass,
|
|
|
|
unused-import,
|
|
|
|
unused-argument,
|
|
|
|
useless-object-inheritance,
|
|
|
|
wrong-import-order
|
2022-09-02 23:56:05 +02:00
|
|
|
enable=useless-suppression
|
2018-09-06 20:25:12 +02:00
|
|
|
|
|
|
|
[IMPORTS]
|
2018-12-13 18:56:55 +01:00
|
|
|
known-third-party=boto3,botocore,psutil,yaml,xmlrunner
|