chore: drop the unused large-files asset fetch

release.assets.fetch_assets had no caller: check_release reads release.check.fetch_assets, and check_release_assets reads fetch_release.
This commit is contained in:
Abdessamad Derraz committed 2026-11-20 20:03:26 +01:00
1 parent 2f8f78b6b5
commit d56c3e6e22
1 file changed
-12
-12
View File
@@ -287,15 +287,3 @@ def fetch_release() -> tuple[dict[str, int], str, dict[str, str]]:
data.get("body", ""),
digests_of(data["assets"]),
)
def fetch_assets() -> dict[str, int]:
"""Name and size of every asset of the large-files release."""
result = subprocess.run(
[
"gh", "release", "view", LARGE_FILES_RELEASE,
"-R", LARGE_FILES_REPO, "--json", "assets",
],
capture_output=True, text=True, check=True,
)
return {a["name"]: a["size"] for a in json.loads(result.stdout)["assets"]}