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 -3
View File
@@ -1,5 +1,3 @@
"""Real process leases, not PID files or mocked lock acquisition."""
import subprocess
import sys
import time
@@ -73,7 +71,7 @@ def test_multiple_runtimes_block_update_until_last_process_exits(isolated_instal
with child_lease(isolated_installation, sys.prefix) as first:
with child_lease(isolated_installation, sys.prefix):
with installation_access():
pass # Shared leases do not prevent normal multi-profile use.
pass
with pytest.raises(InstallationBusyError, match="Stop its nanobot gateways"):
with installation_access(updating=True):
pytest.fail("Update entered a busy installation")