coverage: move settings into pyproject
This commit is contained in:
parent
10eb0e67d3
commit
9c76dc1a33
2 changed files with 2 additions and 15 deletions
15
.coveragerc
15
.coveragerc
|
|
@ -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
|
|
||||||
|
|
@ -51,3 +51,5 @@ wwvbtk = "wwvb.wwvbtk:main"
|
||||||
[[tool.mypy.overrides]]
|
[[tool.mypy.overrides]]
|
||||||
module = ["adafruit_datetime"]
|
module = ["adafruit_datetime"]
|
||||||
follow_untyped_imports = true
|
follow_untyped_imports = true
|
||||||
|
[tool.coverage.report]
|
||||||
|
exclude_also=["if TYPE_CHECKING:"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue