Skip to content

Commit 00524dc

Browse files
authored
Don't report coverage on _version.py. This is only an issue when running locally but can be misleading when comparing to CI results. (#272)
1 parent 1c78dea commit 00524dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ sort = "Cover"
5656
[tool.coverage.run]
5757
branch = false # https://github.com/nedbat/coveragepy/issues/605
5858
concurrency = ["multiprocessing", "thread"]
59+
omit = ["_version.py"]
5960
parallel = true
6061
source_pkgs = ["ansible_creator"]
6162

0 commit comments

Comments
 (0)