| 1 |
[MASTER] |
| 2 |
ignore-patterns=test_* |
| 3 |
reports=no |
| 4 |
|
| 5 |
[MESSAGES CONTROL] |
| 6 |
# For all codes, run 'pylint --list-msgs' or go to 'https://pylint.readthedocs.io/en/latest/reference_guide/features.html' |
| 7 |
# locally-disabled: Warning locally suppressed using disable-msg |
| 8 |
# cyclic-import: because of https://github.com/PyCQA/pylint/issues/850 |
| 9 |
disable=useless-object-inheritance,missing-docstring,locally-disabled,fixme,cyclic-import,too-many-arguments,invalid-name,duplicate-code,logging-format-interpolation,too-many-instance-attributes,too-few-public-methods,raising-bad-type |
| 10 |
|
| 11 |
[FORMAT] |
| 12 |
max-line-length=120 |
| 13 |
|
| 14 |
[VARIABLES] |
| 15 |
# Tells whether we should check for unused import in __init__ files. |
| 16 |
init-import=no |
| 17 |
|
| 18 |
[DESIGN] |
| 19 |
# Maximum number of locals for function / method body |
| 20 |
max-locals=25 |
| 21 |
# Maximum number of branch for function / method body |
| 22 |
max-branches=20 |
| 23 |
|
| 24 |
[SIMILARITIES] |
| 25 |
min-similarity-lines=10 |
| 26 |
|
| 27 |
[BASIC] |
| 28 |
# Naming hints based on PEP 8 (https://www.python.org/dev/peps/pep-0008/#naming-conventions). |
| 29 |
# Consider these guidelines and not hard rules. Read PEP 8 for more details. |
| 30 |
|
| 31 |
# The invalid-name checker must be **enabled** for these hints to be used. |
| 32 |
include-naming-hint=yes |
| 33 |
|
| 34 |
module-name-hint=lowercase (keep short; underscores are discouraged) |
| 35 |
const-name-hint=UPPER_CASE_WITH_UNDERSCORES |
| 36 |
class-name-hint=CapitalizedWords |
| 37 |
class-attribute-name-hint=lower_case_with_underscores |
| 38 |
attr-name-hint=lower_case_with_underscores |
| 39 |
method-name-hint=lower_case_with_underscores |
| 40 |
function-name-hint=lower_case_with_underscores |
| 41 |
argument-name-hint=lower_case_with_underscores |
| 42 |
variable-name-hint=lower_case_with_underscores |
| 43 |
inlinevar-name-hint=lower_case_with_underscores (short is OK) |
| 44 |
|
| 45 |
extension-pkg-whitelist=c_uamqp |