-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
38 lines (30 loc) · 942 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]
; NOTES:
; Do not use inline comments (on the same line after some configuration).
; This is not supported.
; Version is downgraded from 6.0.0 to allow plugins to catch up with breaking changes.
; TODO: upgrade later.
; Same as yapf.
max-line-length = 160
require-plugins = flake8-print, flake8-quotes
# Ignore specific errors in specific modules/files (glob pattern).
# Format: <some/*/glob/**/pattern.txt>:<error>
# Example: blog/urls.py:T201
per-file-ignores =
; Don't care about print statements in commands.
**/management/commands/**:T201,
; urls.py are allowed positional arguments because the alternative is cluttering.
**/urls.py:FKA01,
extend-exclude=
.git,
.pytest_ignore,
__pycache__,
venv,
.venv,
tests,
migrations,
extend-ignore=
E266,
; Disable individual lines with comment, example: "print(1) # noqa"
; List of rules:
; https://lintlyci.github.io/Flake8Rules/