1 | # Use pylint --generate-rcfile for a full example |
2 | |
3 | [MASTER] |
4 | |
5 | [MESSAGES CONTROL] |
6 | |
7 | disable=global-statement,missing-docstring,bad-builtin |
8 | |
9 | [REPORTS] |
10 | |
11 | # Set the output format. Available formats are text, parseable, colorized, msvs |
12 | # (visual studio) and html. You can also give a reporter class, eg |
13 | # mypackage.mymodule.MyReporterClass. |
14 | output-format=colorized |
15 | |
16 | # Tells whether to display a full report or only the messages |
17 | reports=no |
18 | |
19 | [BASIC] |
20 | |
21 | #attr-rgx = [a-z_][a-z0-9_]{0,30}$ |
22 | variable-rgx = [a-z_][a-z0-9_]{0,30}$ |
23 | argument-rgx = [a-z_][a-z0-9_]{0,30}$ |
24 | #method-rgx = [a-z_][a-z0-9_]{2,30}$ |
25 | #function-rgx = [a-z_][a-z0-9_]{2,30}$ |
26 | const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__)|([a-z_][a-z0-9_]{2,30}))$ |
27 | |
28 | [FORMAT] |
29 | max-line-length = 80 |
30 | max-module-lines = 10000 |
31 | |
32 | [DESIGN] |
33 | max-branches = 15 |