forked from coldfix/udiskie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
28 lines (27 loc) · 1.15 KB
/
setup.cfg
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
[flake8]
# Defaults:
# ignore = E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505
# max-line-length = 79
ignore = E126,E221,E226,E241,E731,E741,W503,W504
max-line-length = 84
max-complexity = 12
exclude = docs,.git,build,__pycache__,dist,hit_models
# Legend:
# (* ) = ignored by default
# ( x) = ignored here
# Rules:
# (* ) E121 continuation line under-indented for hanging indent
# (* ) E123 closing bracket does not match indentation of opening bracket’s line
# (* x) E126 continuation line over-indented for hanging indent
# (* ) E133 closing bracket is missing indentation
# ( x) E221 multiple spaces before operator
# (* x) E226 missing whitespace around arithmetic operator
# (* x) E241 multiple spaces after ':' [or ',']
# (* ) E242 tab after ‘,’
# ( x) E501 line too long [extended from 79 to 84]
# (* x) W503 line break before binary operator
# (* x) W504 line break after binary operator
# (* ) W505 doc line too long (82 > 79 characters)
# (* ) E704 multiple statements on one line (def)
# ( x) E731 do not assign a lambda expression, use a def
# ( x) E741 ambiguous variable name 'l' [or 'I', or 'O']