2
0

.coveragerc 656 B

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