Skip to content

Commit 8492d64

Browse files
committed
MAINT: Simplify test config
1 parent a605db4 commit 8492d64

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

pyproject.toml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -186,22 +186,6 @@ changelog = "https://medkit-lib.org/changelog.html"
186186
documentation = "https://medkit-lib.org/user_guide"
187187
issues = "https://github.com/medkit-lib/medkit/issues"
188188

189-
[tool.coverage.run]
190-
source_pkgs = ["medkit", "tests"]
191-
branch = true
192-
parallel = true
193-
194-
[tool.coverage.paths]
195-
medkit = ["medkit", "*/medkit/medkit"]
196-
tests = ["tests", "*/medkit/tests"]
197-
198-
[tool.coverage.report]
199-
exclude_lines = [
200-
"no cov",
201-
"if __name__ == .__main__.:",
202-
"if TYPE_CHECKING:",
203-
]
204-
205189
[tool.mypy]
206190
files = ["medkit"]
207191
disable_error_code = ["import-not-found", "import-untyped"]
@@ -211,8 +195,14 @@ warn_unused_ignores = true
211195

212196
[tool.pytest.ini_options]
213197
addopts = [
198+
"--strict-config",
199+
"--strict-markers",
200+
"-s",
201+
"-ra",
202+
# "--doctest-modules",
203+
# "--doctest-continue-on-failure",
214204
"--cov=medkit",
215-
"--cov-report=term-missing:skip-covered",
205+
"--cov-report=term",
216206
]
217207

218208
[tool.ruff]

0 commit comments

Comments
 (0)