-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.flake8.ini
34 lines (34 loc) · 1.09 KB
/
.flake8.ini
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
[flake8]
select = C,E,F,W,B,B950
# Ignore specific warnings and errors according to CEP-8 style
extend-ignore =
W191, # Indentation contains tabs
W391, # Blank line at end of file
E117, # Over-indented
D208, # Docstring is over-indented
D203, # 1 blank line required before class docstring - CEP-7
D212, # Multi-line docstring summary should start at the first line - CEP-7
# Ignore long lines as specified in CEP-8
max-line-length = 100
extend-exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The doc files are mostly autogenerated, ignore them
docs,
# There's no value in checking tox directories
.tox,
# This contains our built stuff
build
# Nothing to find in node_modules, ignore them
node_modules,
# This contains our built package for PyPi
dist,
# There's no value in checking git directories
.git,
# There's no value in checking virtual directories
venv,
# There's no value in checking xcode directories
*.xc**
max-complexity = 10