-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (50 loc) · 1.16 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# All plugins and other utils are defined here.
[coverage:run]
omit =
*/migrations/*.py
*/tests/*.py
[tool:pytest]
# Django options:
DJANGO_SETTINGS_MODULE = server.settings
python_files =
test_*.py
# Flake options:
flake8-statistics = true
flake8-max-line-length = 80
flake8-ignore =
# Disable any checks for migration files:
*/migrations/*.py ALL
# Disable all pydocstyle checks for tests:
*/tests/*.py D
# Disable some pydocstyle checks:
*.py D100 D104 D106 D401
# Flake plugins:
flake8-inline-quotes = single
isort_ignore =
*/migrations/*.py
# py.test options:
console_output_style = classic
norecursedirs = *.egg .eggs dist build docs .tox .git __pycache__
addopts =
--cache-clear
--flake8
--isort
-n auto
--boxed
--cov=server
--cov-report=term
--cov-report=html
-p no:logging
[isort]
multi_line_output = 3
include_trailing_comma = true
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = FIRSTPARTY
[mypy]
# The mypy configurations: http://bit.ly/2zEl9WI
python_version = 3.6
warn_unused_ignores = True
ignore_errors = False
strict_optional = True
check_untyped_defs = True
ignore_missing_imports = True