2015-02-17 21:21:52 +01:00
|
|
|
[coverage:run]
|
|
|
|
source = openslides
|
2017-03-06 16:34:20 +01:00
|
|
|
omit =
|
|
|
|
openslides/core/management/commands/*.py
|
|
|
|
openslides/users/management/commands/*.py
|
2015-02-17 21:21:52 +01:00
|
|
|
|
|
|
|
[coverage:html]
|
2016-02-27 18:27:03 +01:00
|
|
|
directory = personal_data/tmp/htmlcov
|
2015-02-17 21:21:52 +01:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max_line_length = 150
|
|
|
|
|
2015-01-21 08:57:45 +01:00
|
|
|
[isort]
|
2015-02-17 21:21:52 +01:00
|
|
|
include_trailing_comma = true
|
|
|
|
multi_line_output = 3
|
2018-07-09 23:22:26 +02:00
|
|
|
lines_after_imports = 2
|
|
|
|
combine_as_imports = true
|
2019-01-06 16:15:56 +01:00
|
|
|
force_grid_wrap = 0
|
|
|
|
use_parentheses = true
|
|
|
|
line_length = 88
|
2018-08-25 13:52:43 +02:00
|
|
|
known_first_party = openslides
|
2019-08-20 12:00:54 +02:00
|
|
|
known_third_party = pytest,onelogin
|
2017-08-23 20:51:06 +02:00
|
|
|
|
|
|
|
[mypy]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
strict_optional = true
|
2017-08-24 12:26:55 +02:00
|
|
|
check_untyped_defs = true
|
2017-08-23 20:51:06 +02:00
|
|
|
|
2017-08-24 12:26:55 +02:00
|
|
|
[mypy-openslides.utils.*]
|
2018-02-24 16:38:17 +01:00
|
|
|
disallow_untyped_defs = true
|
2017-08-22 14:17:20 +02:00
|
|
|
|
|
|
|
[mypy-openslides.core.config]
|
2018-02-24 16:38:17 +01:00
|
|
|
disallow_untyped_defs = true
|
2017-09-04 00:25:45 +02:00
|
|
|
|
2018-07-09 23:22:26 +02:00
|
|
|
[tool:pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE = tests.settings
|
|
|
|
testpaths = tests/
|
2018-09-23 17:01:58 +02:00
|
|
|
filterwarnings =
|
|
|
|
ignore:RemovedInDjango30Warning
|