.coveragerc 609 B

123456789101112131415161718192021222324252627282930
  1. [run]
  2. branch = True
  3. omit =
  4. /tests/**
  5. /docs/*
  6. /*_tests/**
  7. [report]
  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. except adbutils.AdbError
  22. @deprecated
  23. ignore_errors = True