Skip to content

Commit 7edfc5e

Browse files
committed
Mograce .coveragerc config to pyproject.toml
Signed-off-by: Federico Busetti <[email protected]>
1 parent afcb46a commit 7edfc5e

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed

.coveragerc

Lines changed: 0 additions & 12 deletions
This file was deleted.

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,30 @@ testpaths = [
7878
"tests",
7979
]
8080

81+
[tool.coverage.run]
82+
branch = true
83+
source = [
84+
"http_app",
85+
"grpc_app",
86+
"domains",
87+
"gateways",
88+
"celery_worker",
89+
"common",
90+
]
91+
omit = [
92+
"grpc_app/generated/*",
93+
"common/config.py",
94+
]
95+
concurrency = ["multiprocessing"]
96+
parallel = true
97+
98+
[tool.coverage.report]
99+
exclude_also = [
100+
"pragma: no cover",
101+
"pass",
102+
"\\.\\.\\.",
103+
]
104+
81105
[tool.mypy]
82106
files = [
83107
"domains",

0 commit comments

Comments
 (0)