Auto-format: ruff format

This commit is contained in:
github-actions[bot] committed 2026-01-30 20:50:37 +00:00
1 parent 980e76ea1f
commit 9338509a71
1 file changed
+1 -3
+1 -3
View File
@@ -251,9 +251,7 @@ def _iter_patch_lines(
async_methods: dict[str, set[str]] = {}
# Track class bases for inherited async method lookup
class_bases: dict[str, list[str]] = {}
all_classes = {
node.name for node in tree.body if isinstance(node, ast.ClassDef)
}
all_classes = {node.name for node in tree.body if isinstance(node, ast.ClassDef)}
for node in tree.body:
if isinstance(node, ast.ClassDef):
cache[node.name] = node.end_lineno