2
0

.coveragerc 670 B

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