coverage: move settings into pyproject

This commit is contained in:
Jeff Epler 2025-07-24 14:03:21 -05:00
parent 10eb0e67d3
commit 9c76dc1a33
2 changed files with 2 additions and 15 deletions

View file

@ -1,15 +0,0 @@
# SPDX-FileCopyrightText: 2021-2024 Jeff Epler
#
# SPDX-License-Identifier: GPL-3.0-only
[report]
exclude_also =
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if TYPE_CHECKING:
class .*\bProtocol\):
@(abc\.)?abstractmethod

View file

@ -51,3 +51,5 @@ wwvbtk = "wwvb.wwvbtk:main"
[[tool.mypy.overrides]]
module = ["adafruit_datetime"]
follow_untyped_imports = true
[tool.coverage.report]
exclude_also=["if TYPE_CHECKING:"]