Skip to content

Commit

Permalink
Merge pull request #340 from py-mine/coveragerc
Browse files Browse the repository at this point in the history
Add coveragerc to ignore type-time only lines
  • Loading branch information
ItsDrike authored Jun 28, 2022
2 parents 5b631db + 33ef184 commit 5c19b43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[report]
exclude_lines =
pragma: nocover
if TYPE_CHECKING:
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage*
.coverage
.cache
nosetests.xml
coverage.xml
Expand Down

0 comments on commit 5c19b43

Please sign in to comment.