From 38ff69fbdc6f275acfaedc1bfd2968d307e84a00 Mon Sep 17 00:00:00 2001 From: Mathieu Fehr Date: Sun, 17 Dec 2023 00:53:23 +0000 Subject: [PATCH] Run pre-commit --- xdsl_pdl/fuzzing/generate_pdl_rewrite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdsl_pdl/fuzzing/generate_pdl_rewrite.py b/xdsl_pdl/fuzzing/generate_pdl_rewrite.py index 690c0de..f7ab8fa 100644 --- a/xdsl_pdl/fuzzing/generate_pdl_rewrite.py +++ b/xdsl_pdl/fuzzing/generate_pdl_rewrite.py @@ -191,6 +191,7 @@ def generate_unverified_random_pdl_rewrite() -> PatternOp: body = Region([Block(matched_ops + [rewrite])]) return PatternOp(1, None, body) + def generate_random_pdl_rewrite() -> PatternOp: while True: pattern = generate_unverified_random_pdl_rewrite() @@ -199,4 +200,3 @@ def generate_random_pdl_rewrite() -> PatternOp: except Exception: continue return pattern - \ No newline at end of file