mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-02-20 09:18:42 +01:00
ci: update coverage settings
This commit is contained in:
@@ -108,3 +108,14 @@ env = "GH_TOKEN"
|
|||||||
[tool.semantic_release.publish]
|
[tool.semantic_release.publish]
|
||||||
dist_glob_patterns = ["dist/*"]
|
dist_glob_patterns = ["dist/*"]
|
||||||
upload_to_vcs_release = true
|
upload_to_vcs_release = true
|
||||||
|
|
||||||
|
[tool.coverage.report]
|
||||||
|
skip_empty = true # exclude empty *files*, e.g. __init__.py, from the report
|
||||||
|
exclude_lines = [
|
||||||
|
"pragma: no cover",
|
||||||
|
"if TYPE_CHECKING:",
|
||||||
|
"return NotImplemented",
|
||||||
|
"raise NotImplementedError",
|
||||||
|
"\\.\\.\\.",
|
||||||
|
'if __name__ == "__main__":',
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user