forked from aws/aws-parallelcluster-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
28 lines (28 loc) · 884 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
[flake8]
ignore =
D105, # Missing docstring in magic method
D100, # Missing docstring in public module
D101, # Missing docstring in public class
D102, # Missing docstring in public method
D103, # Missing docstring in public function
D104, # Missing docstring in public package
D107, # Missing docstring in __init__
W503, # line break before binary operator => Conflicts with black style.
N818, # exception name should be named with an Error suffix
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}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s