-
Notifications
You must be signed in to change notification settings - Fork 87
/
.flake8
37 lines (37 loc) · 990 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
[flake8]
ignore =
# D105: Missing docstring in magic method
D105,
# D100: Missing docstring in public module
D100,
# D101: Missing docstring in public class
D101,
# D102: Missing docstring in public method
D102,
# D103: Missing docstring in public function
D103,
# D104: Missing docstring in public package
D104,
# D107: Missing docstring in __init__
D107,
# W503: line break before binary operator => Conflicts with black style.
W503,
# N818: exception name should be named with an Error suffix
N818
exclude =
.tox,
.git,
.pytest_cache,
docs/source/conf.py,
build,
dist,
tests/fixtures/*,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 10
max-line-length = 120
import-order-style = google
application-import-names = flake8
format = %(cyan)s%(path)s%(reset)s:%(bold)s%(yellow)s%(row)d%(reset)s:%(bold)s%(green)s%(col)d%(reset)s: %(bold)s%(red)s%(code)s%(reset)s %(text)s