Skip to content

Commit

Permalink
Omit __str__ and custom_cover_range_fn.py from coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenm committed Oct 24, 2018
1 parent 21733d5 commit 93e9f82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .coveragerc
Expand Up @@ -6,6 +6,7 @@ branch = True
# (as suggested in sample config files)
exclude_lines =
pragma: no cover
def __str__
def __repr__
raise AssertionError
raise NotImplementedError
Expand All @@ -16,5 +17,9 @@ exclude_lines =
# are automatically generated (and they collectively
# encompass a lot of code) but they are not executed
# in tests
# Also omit custom_cover_range_fn.py, which is tested,
# but is loaded dynamically and does not appear to
# be counted as covered
omit =
catch/datasets/*
catch/filter/tests/input/custom_cover_range_fn.py

0 comments on commit 93e9f82

Please sign in to comment.