-
Notifications
You must be signed in to change notification settings - Fork 8
/
.flake8
32 lines (32 loc) · 885 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
[flake8]
per-file-ignores =
# imported but unused
__init__.py: F401
max-line-length = 120
ignore =
# line break before binary operator
W503
# whitespace before ':'
E203
# Missing Docstrings
D100,D101,D102,D103,D104,D105,D106,D107
# Whitespace Issues
D202,D203,D204,D205,D209,D213
# Quotes Issues
D302
# Docstring Content Issues
D400,D401,D401,D402,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D415,D416,D417
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
# The old directory contains Flake8 2.0
old,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist
max-complexity = 10