-
Notifications
You must be signed in to change notification settings - Fork 9
/
.flake8
43 lines (40 loc) · 1.17 KB
/
.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
39
40
41
42
43
[flake8]
max-line-length = 120
exclude =
# No need to traverse our git directory
.git,
# Nox virtualenvs are also not important
.nox,
# There's no value in checking cache directories
__pycache__,
# Package build stuff
build,
dist,
# The conf file is mostly autogenerated, ignore it
docs/conf.py,
# Also ignore setup.py, it's mostly a shim
setup.py,
# Ignore our custom pre-commit hooks
.pre-commit-hooks
per-file-ignores =
# F401 imported but unused
__init__.py: F401
# D100 Missing docstring in public module
# D103 Missing docstring in public function
noxfile.py: D100,D102,D103,D107,D212,E501
# D106 Missing docstring in public nested class
src/hbneat/models.py: D106,
# D100 Missing docstring in public module
# D103 Missing docstring in public function
tests/*.py: D100,D103
ignore =
# D104 Missing docstring in public package
D104,
# D107 Missing docstring in __init__ - Class docstrings will cover __init__ docstrings
D107,
# D200 One-line docstring should fit on one line with quotes
D200,
# D212 Multi-line docstring summary should start at the first line
D212
# flake8-docstrings config
docstring-convention = google