mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Auto-format: ruff format
This commit is contained in:
1 parent
980e76ea1f
commit
9338509a71
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user