Debian Codegraph @

.pylintrc

raw
1 # The format of this file isn't really documented; just use --generate-rcfile
2 [MASTER]
3 # Add <file or directory> to the black list. It should be a base name, not a
4 # path. You may set this option multiple times.
5 ignore=.git,tests
6
7 [MESSAGES CONTROL]
8 # NOTE: The options which do not need to be suppressed can be removed.
9 disable=
10 # "F" Fatal errors that prevent further processing
11 # "I" Informational noise
12 c-extension-no-member,
13 locally-disabled,
14 # "E" Error for important programming issues (likely bugs)
15 import-error,
16 not-callable,
17 no-member,
18 # "W" Warnings for stylistic problems or minor programming issues
19 abstract-method,
20 anomalous-backslash-in-string,
21 arguments-differ,
22 attribute-defined-outside-init,
23 broad-except,
24 fixme,
25 global-statement,
26 pointless-string-statement,
27 protected-access,
28 redefined-builtin,
29 redefined-outer-name,
30 signature-differs,
31 unidiomatic-typecheck,
32 unused-argument,
33 unused-variable,
34 useless-super-delegation,
35 # TODO(gthiemonge) Re-enable this checker and fix too general exceptions
36 broad-exception-raised,
37 # "C" Coding convention violations
38 invalid-name,
39 line-too-long,
40 missing-docstring,
41 consider-using-f-string,
42 # "R" Refactor recommendations
43 duplicate-code,
44 too-few-public-methods,
45 too-many-ancestors,
46 too-many-arguments,
47 too-many-branches,
48 too-many-instance-attributes,
49 too-many-lines,
50 too-many-locals,
51 too-many-public-methods,
52 too-many-return-statements,
53 too-many-statements,
54 multiple-statements,
55 duplicate-except,
56 keyword-arg-before-vararg,
57 useless-object-inheritance,
58 arguments-renamed,
59 consider-using-enumerate,
60 too-many-positional-arguments
61
62 [BASIC]
63 # Variable names can be 1 to 31 characters long, with lowercase and underscores
64 variable-rgx=[a-z_][a-z0-9_]{0,30}$
65
66 # Argument names can be 2 to 31 characters long, with lowercase and underscores
67 argument-rgx=[a-z_][a-z0-9_]{1,30}$
68
69 # Method names should be at least 3 characters long
70 # and be lowercased with underscores
71 method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
72
73 # Module names matching
74 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
75
76 # Don't require docstrings on tests.
77 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
78
79 [FORMAT]
80 # Maximum number of characters on a single line.
81 max-line-length=79
82
83 [VARIABLES]
84 # List of additional names supposed to be defined in builtins. Remember that
85 # you should avoid to define new builtins when possible.
86 additional-builtins=
87
88 [CLASSES]
89
90 [IMPORTS]
91 # Deprecated modules which should not be used, separated by a comma
92 deprecated-modules=
93
94 [TYPECHECK]
95 # List of module names for which member attributes should not be checked
96 ignored-modules=six.moves,_MovedItems
97
98 [REPORTS]
99 # Tells whether to display a full report or only the messages
100 reports=no