.coveragerc 620 B

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