fix: satisfy release version mypy check

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
JerrettDavis 2026-04-16 18:10:07 -05:00
parent ffe3391b2d
commit bc9deec657

View file

@ -130,8 +130,8 @@ def get_canonical_version(root: Path) -> str:
import tomli as tomllib
with open(root / "pyproject.toml", "rb") as file:
data = tomllib.load(file)
return data["project"]["version"]
project = tomllib.load(file)["project"]
return str(project["version"])
def list_release_tags(root: Path) -> list[str]: