Skip to content

Commit 9338509

Browse files
Auto-format: ruff format
1 parent 980e76e commit 9338509

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/update_lib/patch_spec.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,7 @@ def _iter_patch_lines(
251251
async_methods: dict[str, set[str]] = {}
252252
# Track class bases for inherited async method lookup
253253
class_bases: dict[str, list[str]] = {}
254-
all_classes = {
255-
node.name for node in tree.body if isinstance(node, ast.ClassDef)
256-
}
254+
all_classes = {node.name for node in tree.body if isinstance(node, ast.ClassDef)}
257255
for node in tree.body:
258256
if isinstance(node, ast.ClassDef):
259257
cache[node.name] = node.end_lineno

0 commit comments

Comments
 (0)