Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion plugins/hatch/hatch_una/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
from pathlib import Path
from typing import Any


PYPROJ = "pyproject.toml"


def load_conf(path: Path) -> dict[str, Any]:

Check warning on line 9 in plugins/hatch/hatch_una/util.py

View workflow job for this annotation

GitHub Actions / test-python

Type `Any` is not allowed (reportExplicitAny)
with (path / PYPROJ).open("rb") as fp:
return tomllib.load(fp)

Expand All @@ -15,7 +14,7 @@
def get_members() -> list[str]:
root = get_workspace_root()
root_conf = load_conf(root)
members: list[str] = (

Check warning on line 17 in plugins/hatch/hatch_una/util.py

View workflow job for this annotation

GitHub Actions / test-python

Type of "members" is Any (reportAny)
root_conf.get("tool", {}).get("uv", {}).get("workspace", {}).get("members", []) # pyright:ignore[reportAny]
)
return members
Expand Down
2 changes: 1 addition & 1 deletion una/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies = [
"dataclasses-json ~= 0.6",
"rich ~= 13.1",
"tomlkit ~= 0.10",
"typer ~= 0.15.4",
"typer>=0.15.4",
]

[project.urls]
Expand Down
Loading
Loading