Skip to content

Commit 138f3f3

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. (#235)
1 parent 52d4450 commit 138f3f3

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
@@ -55,6 +55,7 @@ sort = "Cover"
5555
[tool.coverage.run]
5656
branch = false # https://github.com/nedbat/coveragepy/issues/605
5757
concurrency = ["multiprocessing", "thread"]
58+
omit = ["_version.py"]
5859
parallel = true
5960
source_pkgs = ["ansible_dev_environment"]
6061

0 commit comments

Comments
 (0)