Skip to content

Commit 5970ca9

Browse files
authored
🔧 - Update coverage config (#28)
1 parent 0d4c9d0 commit 5970ca9

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

pyproject.toml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,16 @@ module = [
9999
]
100100
ignore_missing_imports = true
101101

102-
103-
[tool.coverage.run]
104-
omit = ['*/__init__.py']
105-
106-
#[tool.coverage.paths]
107-
#source = ['flake8_force_keyword_arguments']
108-
109102
[tool.coverage.report]
110-
exclude_lines = ['pragma: no cover']
103+
exclude_lines = [
104+
"pragma: no cover",
105+
"def __repr__",
106+
"if self.debug:",
107+
"if settings.DEBUG",
108+
"raise AssertionError",
109+
"raise NotImplementedError",
110+
"if 0:",
111+
"if __name__ == .__main__.:",
112+
"class .*\\bProtocol\\):",
113+
"@(abc\\.)?abstractmethod",
114+
]

0 commit comments

Comments
 (0)