-
Notifications
You must be signed in to change notification settings - Fork 19
/
.pylintrc
79 lines (69 loc) · 3.05 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# C convention related checks
# R refactoring related checks
# W various warnings
# E errors, for probable bugs in the code
# F fatal, if an error occurred which prevented pylint from doing further processing.
[MESSAGES CONTROL]
# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time. See also the "--disable" option for examples.
#enable=
# Disable the message, report, category or checker with the given id(s).
# Multiple identifiers can be separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).
# Examples:
# "--disable=all" disable everything first and then reenable specific checks.
# "--disable=all --enable=similarities". run only the similarities checker
# "--disable=all --enable=classes --disable=W"
# run only the classes checker, but have no Warning level messages displayed
disable=C0103, C0114, C0115, C0116, C0301, C0303, C0321, C0325, C0326, C0411, C0413,
E0102, E0401, E0611, E1101,
R0801, R0902, R0903,
W0621, W0702, W1309, W0612, W0201, W0235,
R0201, R0205, R0904, R1714, R1725
# Disabled:
# R* [refactoring suggestions & reports]
# C0103 Variable name "CF" doesn't conform to snake_case naming styl
# C0114 Missing module docstring
# C0115 Missing class docstring
# C0116 Missing function or method docstring
# C0301 Line too long
# C0303: Trailing whitespace
# C0321 More than one statement on a single line
# C0325 Unnecessary parens after 'if' keyword (superfluous-parens)
# C0326 Exactly one space required around assignment
# C0411 Import order
# C0413 Import should be placed at the top
# E0102 class already defined line
# E0401 Import Error
# E0611 no-name-in-module
# E1101 Instance of '' has no 'Init' member
# R0801 Similar lines in 3 files
# R0902 too-many-instance-attributes
# R0903 too-few-public-methods
# W0612 Unused variable
# W0621 Redefining name '' from outer scope
# W0702 No exception type(s) specified (bare-except)
# W1309 Using an f-string that does not have any interpolated variables
#
### Work On Later
# R0201 Method could be a function
# R0205 Class 'FileIO' inherits from object
# R0904 Too many public methods (%s/%s)
# R1714 Consider merging these comparisons with "in" to
# W0201 Attribute %r defined outside __init__
# W0235 Useless super delegation in method '__init__'
[REPORTS]
# Tells whether to display a full report or only the messages
reports=no
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
# msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'
[LOGGING]
# Format style used to check logging format string. `old` means using %
# formatting, `new` is for `{}` formatting,and `fstr` is for f-strings.
logging-format-style=fstr