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 98316eb commit 0d9a76cCopy full SHA for 0d9a76c
pyproject.toml
@@ -189,6 +189,25 @@ filterwarnings = [
189
django_find_project = false
190
DJANGO_SETTINGS_MODULE = 'tests.settings'
191
192
+[tool.coverage.run]
193
+omit = [
194
+ "docs/conf.py",
195
+]
196
+
197
+[tool.coverage.report]
198
+exclude_also = [
199
+ "def __repr__",
200
+ "if self.debug:",
201
+ "if settings.DEBUG",
202
+ "raise AssertionError",
203
+ "raise NotImplementedError",
204
+ "if 0:",
205
+ "if __name__ == .__main__.:",
206
+ "if TYPE_CHECKING:",
207
+ "class .*\\bProtocol\\):",
208
+ "@(abc\\.)?abstractmethod",
209
210
211
[build-system]
212
requires = ["poetry_core>=1.0.0", "poetry>=1.1.12"]
213
build-backend = "poetry.core.masonry.api"
0 commit comments