mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
fix: satisfy release version mypy check
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ffe3391b2d
commit
bc9deec657
1 changed files with 2 additions and 2 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue