-
Notifications
You must be signed in to change notification settings - Fork 17
/
.flake8
42 lines (40 loc) · 971 Bytes
/
.flake8
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
[flake8]
exclude = .git,__pycache__,docs,build,dist,examples,setup.py,bin
max-complexity = 10
max-line-length = 80
ignore =
# module level import location
E402,
# space before/after operator
E221, E222,E251,
# multiple spaces after/after keyword
E271, E272,
# line too long
E501,
# whitespace before/after ...
E203, E202, E231, E241, E211, E116, E127,
# same indent
E129,
# comment indent not mod(4)
E114,
# cont line indentation
E128, E126, E124, E125, E131,
# blank lines
W391, E301, E303,
# multiple statements on one line
E701, E704,
# space before bracket
C0326,
# trailing whitespace
W291,
# Complex methods
C901,
# Do not use bare 'except'
E722,
# we can spot the difference between I, l and 1, thank you.
E741,
# line break after binary operator
W504
per-file-ignores =
# imported but unused
__init__.py:F401