setup.cfg 759 B

12345678910111213141516171819202122232425262728293031
  1. [aliases]
  2. test = pytest
  3. [bdist_wheel]
  4. python-tag = py3
  5. [tool:pytest]
  6. addopts = --flake8 --isort --cov --cov-report=term --cov-report=xml -r s
  7. norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
  8. [tool:isort]
  9. known_standard_library = posixpath
  10. known_third_party = defusedxml,passlib,pkg_resources,pytest,vobject
  11. [coverage:run]
  12. branch = True
  13. source = radicale
  14. omit = tests/*,*/tests/*
  15. [coverage:report]
  16. # Regexes for lines to exclude from consideration
  17. exclude_lines =
  18. # Have to re-enable the standard pragma
  19. pragma: no cover
  20. # Don't complain if tests don't hit defensive assertion code:
  21. raise AssertionError
  22. raise NotImplementedError
  23. # Don't complain if non-runnable code isn't run:
  24. if __name__ == .__main__.: