-
Notifications
You must be signed in to change notification settings - Fork 12
/
.flake8
23 lines (23 loc) · 705 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
[flake8]
exclude =
# No need to traverse the git directory
.git,
# No value in checking cache directories
__pycache__,
# The conf file is mostly autogenerated, ignore it
docs/source/conf.py,
build,
dist,
.tox,
*.egg
max-line-length = 80
# B950: Line too long. It considers "max-line-length"
# but only triggers when the value has been exceeded
# by more than 10%. So the efective max line length is 88
# Disable E501 to avoid duplicate warnings.
select = C, E, F, W, B, B950
# E203 and W503 are not PEP 8 compliant
ignore = E203, E501, W503
# emit a warning for high McCabe complexity
# See https://en.wikipedia.org/wiki/Cyclomatic_complexity
# max-complexity = 10