Skip to content

Commit

Permalink
Fixed coverage to correclty exclude version and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeal committed Aug 26, 2018
1 parent 7040de3 commit 74fab1a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .coveragerc

This file was deleted.

14 changes: 14 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,17 @@ versionfile_source = papermill/_version.py
versionfile_build = papermill/_version.py
tag_prefix =
parentdir_prefix = papermill-

[coverage:run]
branch = False
omit = papermill/tests/*,papermill/_version.py

[coverage:report]
exclude_lines =
if self\.debug:
pragma: no cover
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit = papermill/tests/*,papermill/_version.py

0 comments on commit 74fab1a

Please sign in to comment.