2
0

.coveragerc 639 B

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