-
Notifications
You must be signed in to change notification settings - Fork 59
/
.flake8
38 lines (35 loc) · 1016 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-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 =
# F403 'from .build import *' used; unable to detect undefined names
# F401 '.build.*' imported but unused
tasks/__init__.py: F401, F403
ignore =
# D103 Missing docstring in public function
D103,
# 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