🔧 Update coverage config files (#1077)
This commit is contained in:
committed by
GitHub
parent
805718d78d
commit
e448c339db
@@ -73,14 +73,18 @@ optional-dependencies = {}
|
||||
|
||||
[tool.coverage.run]
|
||||
parallel = true
|
||||
data_file = "coverage/.coverage"
|
||||
source = [
|
||||
"docs_src",
|
||||
"tests",
|
||||
"sqlmodel"
|
||||
]
|
||||
context = '${CONTEXT}'
|
||||
dynamic_context = "test_function"
|
||||
|
||||
[tool.coverage.report]
|
||||
show_missing = true
|
||||
sort = "-Cover"
|
||||
exclude_lines = [
|
||||
"pragma: no cover",
|
||||
"@overload",
|
||||
@@ -88,6 +92,9 @@ exclude_lines = [
|
||||
"if TYPE_CHECKING:",
|
||||
]
|
||||
|
||||
[tool.coverage.html]
|
||||
show_contexts = true
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user