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

-2
View File
@@ -1,5 +1,3 @@
"""Protect the required-check contract when GitHub skips conditional jobs."""
import pytest
from scripts.ci_gate import check_results
-3
View File
@@ -1,5 +1,3 @@
"""Path policy and real git range regressions for the CI selector."""
import html
import json
import os
@@ -77,7 +75,6 @@ def selected(result):
],
)
def test_existing_path_policy(path, expected):
# These are reachable repository inputs, not merely invented glob matches.
assert (ROOT / path).is_file()
result = classify_paths([path])
assert selected(result) == expected
-2
View File
@@ -1,5 +1,3 @@
"""Producer/consumer artifact wiring must survive failed-jobs-only retries."""
import json
from pathlib import Path
@@ -1,5 +1,3 @@
"""Acceptance must use the built candidate bytes, not a rebuilt substitute."""
import hashlib
import json
from zipfile import ZipFile
-2
View File
@@ -1,5 +1,3 @@
"""Exercise the CI timing artifact with real pytest reports, without child processes."""
import json
import pytest