From 7ffbbfc4c4b4e89b34bdd100dd47ea988de6d6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Zaczy=C5=84ski?= Date: Tue, 6 Aug 2024 15:28:34 +0200 Subject: [PATCH] Reformat code --- structural-pattern-matching/optimizer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/structural-pattern-matching/optimizer.py b/structural-pattern-matching/optimizer.py index 8074e84206..431e3c0307 100644 --- a/structural-pattern-matching/optimizer.py +++ b/structural-pattern-matching/optimizer.py @@ -25,7 +25,9 @@ def sample_function(): def optimize(node): match node: case ast.Module(body, type_ignores): - return ast.Module([optimize(child) for child in body], type_ignores) + return ast.Module( + [optimize(child) for child in body], type_ignores + ) case ast.FunctionDef(): return ast.FunctionDef( name=node.name,