2016-07-04 14:29:38 +02:00
|
|
|
[aliases]
|
2017-04-15 10:51:00 +02:00
|
|
|
test = pytest
|
|
|
|
|
|
|
|
[bdist_wheel]
|
|
|
|
python-tag = py3
|
|
|
|
|
|
|
|
[tool:pytest]
|
2020-01-14 22:43:48 +01:00
|
|
|
addopts = --flake8 --isort --cov --cov-report=term --cov-report=xml -r s
|
2018-08-14 18:45:21 +02:00
|
|
|
norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
|
2019-06-15 09:46:28 +02:00
|
|
|
|
2020-01-17 05:00:30 +01:00
|
|
|
[tool:isort]
|
2020-01-15 18:44:01 +01:00
|
|
|
known_standard_library = posixpath
|
|
|
|
known_third_party = gunicorn,passlib,pkg_resources,pytest,pytest_cov,vobject
|
2020-01-14 22:43:48 +01:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
|
|
|
source = radicale
|
2020-01-15 18:44:01 +01:00
|
|
|
omit = tests/*,*/tests/*
|
2020-01-14 22:43:48 +01:00
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_lines =
|
|
|
|
# Have to re-enable the standard pragma
|
|
|
|
pragma: no cover
|
|
|
|
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
|
|
raise AssertionError
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
if __name__ == .__main__.:
|