forked from aws/aws-parallelcluster-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flake8
31 lines (31 loc) · 1013 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
[flake8]
#ignore =
# D105, # Missing docstring in magic method
# D100, # Missing docstring in public module
# D104, # Missing docstring in public package
# D107, # Missing docstring in __init__
# W503, # line break before binary operator => Conflicts with black style.
# D103 Missing docstring in public function
# E402 module level import not at top of file
# D101 Missing docstring in public class
# D102 Missing docstring in public method
# D205 1 blank line required between summary line and description
# D400 First line should end with a period
# D401 First line should be in imperative mood
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