Skip to content

Commit

Permalink
fix strs - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Jun 7, 2024
1 parent cff4a3a commit 313529e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject_toml_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_init_version(ppath: Path) -> tuple[Path, str | None]:
else:
raise Exception(
f"'__version__' must be in the semantic version format: "
f"{Path(f.name).relative_to(self.root)}/ -> '{line.strip()}'"
f"{ppath.name}/__init__.py -> '{line.strip()}'"
)
return Path(f.name), None

Expand Down

0 comments on commit 313529e

Please sign in to comment.