Skip to content

Commit

Permalink
Add .converagerc
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Jul 5, 2024
1 parent 1e81160 commit 9a7c04a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# .coveragerc to control coverage.py
[run]
branch = False
omit = .converage*
*/tests/*
*/__main__.py
[report]
fail_under = 95
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug
def _post_url(self)

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
except KeyboardInterrupt:
except ImportError:
except RuntimeError
raise SystemExit

# Don't complain if non-runnable code isn't run:
if 0:
if perf_file *:
p_col = *
f_col = *
q_col = *
if __name__ == .__main__.:

ignore_errors = False

0 comments on commit 9a7c04a

Please sign in to comment.