.coveragerc 857 B

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