-
Notifications
You must be signed in to change notification settings - Fork 6
/
.flake8
39 lines (38 loc) · 895 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
[flake8]
max-line-length = 120
max-complexity = 12
max-nesting-depth = 12
exclude =
# No need to traverse virtualenv
.venv,
venv,
# 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,
migrations,
snapshots,
__pypackages__,
frontend,
ignore =
# black formatting related
# whitespace before ':'
E203,
# line too long
E501,
# line break before binary operator
W503,
# may be undefined, or defined from star imports
F405,
# lamda expressions
E731,
# too complex # TODO: fix this
C901,