-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
36 lines (31 loc) · 875 Bytes
/
setup.cfg
File metadata and controls
36 lines (31 loc) · 875 Bytes
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
[flake8]
max-line-length = 120
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules
ignore=E203,W503,E501,C901
max-complexity=10
[mypy]
python_version = 3.8
check_untyped_defs = True
ignore_errors = False
ignore_missing_imports = True
scripts_are_modules = True
show_error_codes = True
strict_optional = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
plugins = pydantic.mypy
[mypy-*.migrations.*]
# Django migrations should not produce any errors:
ignore_errors = True
[tool:pytest]
DJANGO_SETTINGS_MODULE = config.settings.test
python_paths = v2/src/
norecursedirs = .git __pycache__ migrations template
addopts = -s
filterwarnings =
ignore::django.utils.deprecation.RemovedInDjango41Warning
# Don't worry. Following keys are dummies for test.
env =
SECRET_KEY=123123123123
API_TOKEN=123123123123123