Skip to content

Commit

Permalink
Skip the remaining coverage holes
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Jul 7, 2024
1 parent a7e100e commit 81bfd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/incremental/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def _get_distutils_version(dist, keyword, value): # type: (_Distribution, objec
@see: https://setuptools.pypa.io/en/latest/userguide/extension.html#adding-arguments
"""
if not value: # use_incremental=False
return
return # pragma: no cover

from setuptools.command import build_py # type: ignore

Expand All @@ -428,7 +428,7 @@ def _get_distutils_version(dist, keyword, value): # type: (_Distribution, objec
dist.metadata.version = _existing_version(package_path).public()
return

raise Exception("No _version.py found.")
raise Exception("No _version.py found.") # pragma: no cover


def _load_toml(f): # type: (BinaryIO) -> Any
Expand Down

0 comments on commit 81bfd06

Please sign in to comment.