Use dashes instead of underscores for METADATA.toml field names (#15614)

This commit is contained in:
lev-blit
2026-04-07 15:03:53 +02:00
committed by GitHub
parent 7eb0dddd46
commit 563213272e
204 changed files with 365 additions and 362 deletions
+1 -1
View File
@@ -607,7 +607,7 @@ def parse_no_longer_updated_from_archive(source: zipfile.ZipFile | tarfile.TarFi
with file as f:
toml_data: dict[str, object] = tomllib.load(f)
no_longer_updated = toml_data.get("no_longer_updated", False)
no_longer_updated = toml_data.get("no-longer-updated", False)
assert type(no_longer_updated) is bool
return bool(no_longer_updated)