Skip to content

Commit

Permalink
added coveragerc file
Browse files Browse the repository at this point in the history
  • Loading branch information
quimpm committed Jun 17, 2021
1 parent d2d9827 commit a9b4806
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[run]
source = youtube_discussion_tree_api


[report]
omit =
*/__main__.py

exclude_lines =
pragma: no cover

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

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:

# Don't complain about empty stubs of abstract methods
@abstractmethod
@abstractclassmethod
@abstractstaticmethod

show_missing = True

0 comments on commit a9b4806

Please sign in to comment.