Skip to content

Commit 11a3511

Browse files
authored
v2.0.3 (#16)
Co-authored-by: ddc <ddc@users.noreply.github.com>
1 parent ecf8d58 commit 11a3511

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pytest-asyncio = "^1.1.0"
7272
pytest-cov = "^6.2.1"
7373

7474
[tool.poe.tasks]
75-
_test = "python -m pytest -v --cov=ddcDatabases --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
75+
_test = "python -m pytest -v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
7676
tests = ["_test"]
7777
test = ["tests"]
7878

@@ -82,11 +82,22 @@ skip-string-normalization = true
8282

8383
[tool.coverage.run]
8484
omit = [
85-
"build.py",
8685
"tests/*",
86+
"*/__init__.py",
8787
]
8888

8989
[tool.coverage.report]
9090
exclude_lines = [
9191
"pragma: no cover",
92+
"def __repr__",
93+
"if self.debug:",
94+
"if settings.DEBUG",
95+
"raise AssertionError",
96+
"raise NotImplementedError",
97+
"if 0:",
98+
"if __name__ == .__main__.:",
99+
"class .*\\bProtocol\\):",
100+
"@(abc\\.)?abstractmethod",
92101
]
102+
show_missing = false
103+
skip_covered = false

0 commit comments

Comments
 (0)