-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
43 lines (29 loc) · 898 Bytes
/
setup.cfg
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 = 100
inline-quotes = "double"
# complexity is measured with McGabe (bundled with Flake8)
max-complexity = 10
# used by flake8-spellcheck
dictionaries=en_US, python, technical, django
ignore =
# Ignore the flake8-warnings that are incompatible with Black-formatting
E203, E231, W503
# Ignore Bugbear line-length warning as flake8 handles this
B950
per-file-ignores =
# Suppress unused imports in init-files
*/__init__.py:F401
# Suppress flake8-bandit flagging of 'assert' in tests
*/tests/*:S101
# Suppress false positive
./manage.py:F401
select = ABS, B, B9, BLK, C, E, F, S, SC, T, W
exclude =
venv,
.idea,
# No need to traverse our git directory
.git,
# There's no value in checking cache directories
__pycache__,
# Migrations are autogenerated and not relevant to check
*/migrations,