-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpylintrc
27 lines (23 loc) · 842 Bytes
/
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
[MESSAGES CONTROL]
# Disabling messages that we either don't care about for tests or are necessary to break for tests.
disable =
bad-continuation, # we let black handle this
ungrouped-imports, # we let isort handle this
duplicate-code, # causes lots of problems with implementations of common interfaces
# All below are disabled because we need to support Python 2
useless-object-inheritance,
raise-missing-from,
super-with-arguments,
[BASIC]
# Allow function names up to 50 characters
function-rgx = [a-z_][a-z0-9_]{2,50}$
# Whitelist argument names: iv
argument-rgx = ([a-z_][a-z0-9_]{2,30}$)|(^iv$)
# Whitelist variable names: iv
variable-rgx = ([a-z_][a-z0-9_]{2,30}$)|(^iv$)
[DESIGN]
max-args = 10
[FORMAT]
max-line-length = 120
[REPORTS]
msg-template = {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}