Skip to content

Commit

Permalink
Add standard exclusions to .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 26, 2017
1 parent 2271aa5 commit 1c34b35
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .coveragerc
@@ -1,2 +1,11 @@
[run]
source = zope.server

[report]
precision = 2
exclude_lines =
pragma: no cover
if __name__ == '__main__':
raise NotImplementedError
self.fail
raise AssertionError
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -6,3 +6,4 @@ parts/
develop-eggs/
.tox/
.coverage
htmlcov/

0 comments on commit 1c34b35

Please sign in to comment.