We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a7224 commit a04c99cCopy full SHA for a04c99c
backend/pyproject.toml
@@ -67,3 +67,14 @@ ignore = [
67
[tool.ruff.lint.pyupgrade]
68
# Preserve types, even if a file imports `from __future__ import annotations`.
69
keep-runtime-typing = true
70
+
71
+[tool.coverage.run]
72
+source = ["app"]
73
+dynamic_context = "test_function"
74
75
+[tool.coverage.report]
76
+show_missing = true
77
+sort = "-Cover"
78
79
+[tool.coverage.html]
80
+show_contexts = true
backend/scripts/test.sh
@@ -3,6 +3,6 @@
3
set -e
4
set -x
5
6
-coverage run --source=app -m pytest
7
-coverage report --show-missing
+coverage run -m pytest
+coverage report
8
coverage html --title "${@-coverage}"
0 commit comments