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
@@ -355,7 +355,7 @@ async def prepare_job(plan: UpdatePlan, feed: ReleaseFeed) -> Path:
# replace its archive or begin another preparation while it is active.
with file_access(root / "prepare-native.lock", exclusive=True):
archive = directory / "worker.pyz"
archive.unlink(missing_ok=True) # No committed request exists above.
archive.unlink(missing_ok=True)
_worker_archive(archive)
process = PreparationProcess.create(directory, plan.installation.environment)
JobStatus(plan.id, Phase.PREPARING, 0, False,