-
Notifications
You must be signed in to change notification settings - Fork 3
/
.flake8
38 lines (35 loc) · 908 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
[flake8]
max-complexity = 15
max-line-length = 120
exclude =
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# This contains our built documentation
build,
# This contains builds of flake8 that we don't want to check
dist,
*.egg-info,
# Test / internal files
_client_test.py
ignore =
# W291 trailing whitespace
W291,
# W391 blank line at end of file
W391,
# E501: line too long
E501,
# W503: Line break occurred before a binary operator
W503,
# E203: Whitespace before ':'
E203,
# D202 No blank lines allowed after function docstring
D202,
# W504 line break after binary operator
W504
per-file-ignores =
# imported but unused
__init__.py: F401,
test_*.py: D103, D104, D100, D101, D102, D106
__version__.py: D104, D100, D101, D102