forked from OpenSlides/OpenSlides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
39 lines (32 loc) · 777 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
[coverage:run]
source = openslides
omit =
openslides/core/management/commands/*.py
openslides/users/management/commands/*.py
[coverage:html]
directory = personal_data/tmp/htmlcov
[flake8]
max_line_length = 150
[isort]
include_trailing_comma = true
multi_line_output = 3
lines_after_imports = 2
combine_as_imports = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_first_party = openslides
known_third_party = pytest
[mypy]
ignore_missing_imports = true
strict_optional = true
check_untyped_defs = true
[mypy-openslides.utils.*]
disallow_untyped_defs = true
[mypy-openslides.core.config]
disallow_untyped_defs = true
[tool:pytest]
DJANGO_SETTINGS_MODULE = tests.settings
testpaths = tests/
filterwarnings =
ignore:RemovedInDjango30Warning