Skip to content

Commit

Permalink
That's not going to happen in these tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 4, 2023
1 parent 9456ebd commit 01e0a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/versioningit/hatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_version_data(self) -> dict:
try:
vgit = Versioningit.from_project_dir(PROJECT_ROOT)
report = vgit.run(write=True, fallback=True)

Check warning on line 22 in src/versioningit/hatch.py

View check run for this annotation

Codecov / codecov/patch

src/versioningit/hatch.py#L17-L22

Added lines #L17 - L22 were not covered by tests
except NotVersioningitError:
except NotVersioningitError: # pragma: no cover
p = PROJECT_ROOT / "pyproject.toml"
raise RuntimeError(f"versioningit not configured in {p}")
except (NotSdistError, NoTagError) as e:

Check warning on line 26 in src/versioningit/hatch.py

View check run for this annotation

Codecov / codecov/patch

src/versioningit/hatch.py#L26

Added line #L26 was not covered by tests
Expand Down

0 comments on commit 01e0a14

Please sign in to comment.