Skip to content

Commit c8f9e75

Browse files
committed
Coverage config update.
1 parent c3061d8 commit c8f9e75

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,18 @@ testpaths = [
6060
"tests",
6161
]
6262

63-
[tool.coverage.report]
64-
include = [
65-
"src/*",
63+
[tool.coverage.run]
64+
source = [
65+
"src/",
6666
]
6767
omit = [
6868
"*/app_templates/*",
6969
"*/license_templates/*",
7070
"*/cli.py",
7171
]
72+
73+
[tool.coverage.report]
74+
fail_under = 90.00
7275
exclude_also = [
7376
"raise NotImplementedError",
7477
"if TYPE_CHECKING:",

src/makeapp/app_templates/__default__/pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,14 @@ testpaths = [
7474
"tests",
7575
]
7676

77-
[tool.coverage.report]
78-
include = [
79-
"src/*",
77+
[tool.coverage.run]
78+
source = [
79+
"src/",
8080
]
81+
omit = []
82+
83+
[tool.coverage.report]
84+
fail_under = 90.00
8185
exclude_also = [
8286
"raise NotImplementedError",
8387
"if TYPE_CHECKING:",

0 commit comments

Comments
 (0)