Skip to content

Commit

Permalink
ci: coverage ignores
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <[email protected]>
  • Loading branch information
nstarman committed Feb 20, 2024
1 parent 307c90e commit d7ef7d8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,21 @@


[tool.coverage]
report.exclude_also = ['\.\.\.', 'if typing.TYPE_CHECKING:']
run.source = ["vector"]

[tool.coverage.report]
exclude_also = [
# Have to re-enable the standard pragma
'pragma: no cover',
# Ignore type-checking stuff
'if typing.TYPE_CHECKING:',
'if TYPE_CHECKING:',
'\.\.\.',
# Ignore contents of abstract methods
'@abc.abstractmethod',
'@abstractmethod',
]

[tool.mypy]
disable_error_code = ["no-redef"]
disallow_incomplete_defs = false
Expand Down

0 comments on commit d7ef7d8

Please sign in to comment.