refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

+1 -1
View File
@@ -304,7 +304,7 @@ class ReleaseFeed:
raise ReleaseFeedError("Release catalogue predates the approved target")
if target.version in catalogue.withdrawn:
raise ReleaseFeedError(f"Release withdrawn: {catalogue.withdrawn[target.version]}")
assert target.pointer is not None # Validated by ReleaseTarget.
assert target.pointer is not None
current = await self._from_pointer(target.pointer, catalogue.generation)
if (current.artifact, current.url) != (target.artifact, target.url):
raise ReleaseFeedError("The approved release artifact has changed")