.coveragerc 596 B

12345678910111213141516171819202122232425262728
  1. # .coveragerc to control coverage.py
  2. [run]
  3. branch = True
  4. source = hanna_rechnet
  5. # omit = bad_file.py
  6. [paths]
  7. source =
  8. src/
  9. */site-packages/
  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. # Don't complain if non-runnable code isn't run:
  22. if 0:
  23. if __name__ == .__main__.: