forked from pingle14/rdi_dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
28 lines (26 loc) · 821 Bytes
/
setup.cfg
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
[aliases]
test=pytest
[flake8]
max-line-length = 88
ignore =
E501, # black formatter will be used for style and line length
E203, # space before : (needed for how black formats slicing)
W503, # line break before binary operator
W504, # line break after binary operator
W291, # trailing whitespace is necessary for documentation (black ignores this)
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# 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,
# avoid egg folders
.eggs,
# version.py is not included in the Github Repository
version.py
max-complexity = 10