Skip to content

Commit

Permalink
fix requires-python key
Browse files Browse the repository at this point in the history
  • Loading branch information
carderne committed Aug 27, 2024
1 parent f4f2e07 commit 0be5a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion una/una/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def _update_root_pyproj(path: Path, dependencies: str) -> str:
toml.pop("project") # pyright:ignore[reportUnknownMemberType]
toml.pop("build-system") # pyright:ignore[reportUnknownMemberType]
toml["tool"]["uv"]["workspace"] = {"members": _EXAMPLE_MEMBERS} # pyright:ignore[reportIndexIssue]
toml["tool"]["una"] = {"namespace": ns, "requires_python": requires_python} # pyright:ignore[reportIndexIssue]
toml["tool"]["una"] = {"namespace": ns, "requires-python": requires_python} # pyright:ignore[reportIndexIssue]
with pyproj.open("w") as f:
f.write(tomlkit.dumps(toml)) # pyright:ignore[reportUnknownMemberType]
return ns

0 comments on commit 0be5a52

Please sign in to comment.