-
Notifications
You must be signed in to change notification settings - Fork 24
/
.flake8
43 lines (38 loc) · 867 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
39
40
41
42
43
[flake8]
# generous but reasonable line length
max-line-length = 99
# files to skip
exclude =
.flake8,
.pre-commit-config.yaml,
.git,
.gitignore,
.dockerignore,
requirements.txt,
__pycache__,
venv,
pip-download-cache,
migrations,
Dockerfile,
docker-entrypoint.sh,
docker-compose.yaml,
frontend,
*.md,
*.txt
extend-select =
B, # bugbear extensions
C, # complexity issues
D, # formatting?
DJ10, # django rules
DJ11, # django rules
E, # “errors” reported by pycodestyle
F, # violationsreported by pyflakes
PT, # pytest rules
W, # “warnings” reported by pycodestyle
B9 # bugbear warnings
# specific rules to ignore
ignore =
# use google style docstrings
docstring-convention = google
# force use of double quotes
inline-quotes = "