From 01e0a141ae699079f8d3faa7c2afda23c8bb0bce Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Sat, 4 Nov 2023 09:30:40 -0400 Subject: [PATCH] That's not going to happen in these tests. --- src/versioningit/hatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/versioningit/hatch.py b/src/versioningit/hatch.py index bd277f9..3848aca 100644 --- a/src/versioningit/hatch.py +++ b/src/versioningit/hatch.py @@ -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) - 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: