-
Notifications
You must be signed in to change notification settings - Fork 5
/
pylintrc
37 lines (26 loc) · 1.29 KB
/
pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[MASTER]
# Pickle collected data for later comparisons.
persistent=yes
[MESSAGES CONTROL]
# C0413 wrong-import-position: Import “%s” should be placed at the top of the module Used when code and imports are mixed
# C1801 len-as-condition: Do not use `len(SEQUENCE)` as condition value
# R0801 duplicate-code: Similar lines - This is triggered on imports and can't be disabled by comments
# W0511 fixme: TODO statements
# W0703 broad-except: Catching too general exception "Exception"
# W1201 logging-not-lazy: Specify string format arguments as logging function parameters
# W1202 logging-format-interpolation: Use % formatting in logging functions and pass the % parameters as arguments
# W1203 logging-fstring-interpolation: Use % formatting in logging functions and pass the % parameters as arguments
disable=C0413,C1801,R0801,W0511,W0703,W1201,W1202,W1203
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio).You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=parseable
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=150
[DESIGN]
# Maximum number of arguments for function / method
max-args=6
# Minimum number of public methods for a class (see R0903).
min-public-methods=0