-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpylintrc
56 lines (38 loc) · 1.74 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[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
# R0902 too-many-instance-attributes: Too many instance attributes
# R0915 too-many-statements: Too many statements
# W0511 fixme: TODO statements
# W0703 broad-except: Catching too general exception "Exception"
# W0719 broad-exception-raised: Raising too general 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
# W3101 missing-timeout: Missing timeout argument for method 'requests.*'
disable=C0413,C1801,R0902,R0915,W0511,W0703,W0719,W1201,W1202,W1203,W3101
[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=120
[DESIGN]
# Maximum number of arguments for function / method
max-args=8
# Minimum number of public methods for a class (see R0903).
min-public-methods=0
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=10
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=no