-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.flake8
More file actions
21 lines (21 loc) · 659 Bytes
/
Copy path.flake8
File metadata and controls
21 lines (21 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[flake8]
exclude =
# No need to traverse our git directory
.git,
# No need to check our github workflows
.github
# There's no value in checking cache directories
__pycache__,
# This virtualenv
.venv
max-complexity = 10
max-line-length = 100
select = C,E,F,W,B,B950
ignore = E203,
# E203 whitespace before ':' warnings, not Pep8 compliant. Black
E501,
# use Bugbear’s B950 warning instead of E501, as per Black recommend.
S101,
# Asset detected. Bad in production, but required for testing.
W503
# Black will break a line before a binary operator when splitting code