Skip to content

Commit

Permalink
Skip name==__main__ from coverage
Browse files Browse the repository at this point in the history
Currently, the whole project has coverage of 100%.
  • Loading branch information
HacKanCuBa committed Sep 23, 2018
1 parent f6862c5 commit 3b5bb1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .coveragerc
@@ -0,0 +1,6 @@
[report]

exclude_lines =
# This code cannot be detected as run by coverage, but it is being tested
# at tests_main and tests_bin
if __name__ == .__main__.:

0 comments on commit 3b5bb1c

Please sign in to comment.