Skip to content

Commit

Permalink
Move omit to run section in .coveragerc
Browse files Browse the repository at this point in the history
Coverage used to be configured to omit certain directories while
reporting.

This commit slightly optimizes coverage to already omit those
directories while measuring coverage.
  • Loading branch information
lukpueh committed Jul 11, 2019
1 parent 1291537 commit 3dd0c76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[run]
branch = True

[report]
exclude_lines =
pragma: no cover
def __str__
if __name__ == .__main__.:

omit =
# Command-line scripts.
*/tuf/scripts/client.py
*/tuf/scripts/repo.py
*/tests/*
*/site-packages/*

[report]
exclude_lines =
pragma: no cover
def __str__
if __name__ == .__main__.:

0 comments on commit 3dd0c76

Please sign in to comment.