.coveragerc 644 B

12345678910111213141516171819202122232425262728293031
  1. [run]
  2. source = reflex
  3. branch = true
  4. [report]
  5. show_missing = true
  6. # TODO bump back to 79
  7. fail_under = 68
  8. precision = 2
  9. # Regexes for lines to exclude from consideration
  10. exclude_also =
  11. # Don't complain about missing debug-only code:
  12. def __repr__
  13. if self\.debug
  14. # Don't complain if tests don't hit defensive assertion code:
  15. raise AssertionError
  16. raise NotImplementedError
  17. # Don't complain if non-runnable code isn't run:
  18. if 0:
  19. if __name__ == .__main__.:
  20. # Don't complain about abstract methods, they aren't run:
  21. @(abc\.)?abstractmethod
  22. ignore_errors = True
  23. [html]
  24. directory = coverage_html_report