Skip to content

Commit f57646c

Browse files
committed
Fix coverage cleanup for parallel tests
1 parent 61a979f commit f57646c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ dependencies = [
4949

5050
[tool.hatch.envs.default.scripts]
5151
test = "pytest"
52-
test-cov = ["- coverage erase", "coverage run -pm pytest"]
52+
test-cov = ["coverage run -pm pytest"]
5353
cov-report = [
5454
"- coverage combine",
5555
"coverage xml",
5656
"coverage report --show-missing",
5757
]
58-
cov = ["test-cov", "cov-report"]
59-
cov-all = ["hatch run testall:test-cov", "cov-report"]
58+
cov = ["- coverage erase", "test-cov", "cov-report"]
59+
cov-all = ["- coverage erase", "hatch run testall:test-cov", "cov-report"]
6060

6161
setup-pre-commit = "python3 -m pre_commit install --install-hooks"
6262
setup-dev = ["setup-pre-commit"]
@@ -148,13 +148,13 @@ warn_unreachable = true
148148
warn_return_any = true
149149
warn_no_return = true
150150
enable_error_code = [
151-
"redundant-self",
152-
"redundant-expr",
153-
"possibly-undefined",
154-
"truthy-bool",
155-
"truthy-iterable",
156-
"ignore-without-code",
157-
"unused-awaitable",
151+
"redundant-self",
152+
"redundant-expr",
153+
"possibly-undefined",
154+
"truthy-bool",
155+
"truthy-iterable",
156+
"ignore-without-code",
157+
"unused-awaitable",
158158
]
159159

160160
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)