2
0

.coveragerc 707 B

123456789101112131415161718192021222324252627282930313233343536
  1. # .coveragerc to control coverage.py
  2. [run]
  3. branch = True
  4. concurrency = multiprocessing,thread
  5. source = wagtail
  6. omit =
  7. */migrations/*
  8. */tests/*
  9. docs/conf.py
  10. [report]
  11. # Regexes for lines to exclude from consideration
  12. exclude_lines =
  13. # Have to re-enable the standard pragma
  14. pragma: no cover
  15. # Don't complain about missing debug-only code:
  16. def __repr__
  17. if self\.debug
  18. # Don't complain if tests don't hit defensive assertion code:
  19. raise AssertionError
  20. raise NotImplementedError
  21. return NotImplemented
  22. # Don't complain if non-runnable code isn't run:
  23. if 0:
  24. if __name__ == .__main__.:
  25. ignore_errors = True
  26. [html]
  27. directory = coverage_html_report