[Mlir-commits] [mlir] [mlir][utils] Update generate-test-checks.py (use SSA names) (PR #136819)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 23 00:09:43 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r HEAD~1...HEAD mlir/utils/generate-test-checks.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- generate-test-checks.py	2025-04-23 07:04:05.000000 +0000
+++ generate-test-checks.py	2025-04-23 07:08:55.928238 +0000
@@ -417,11 +417,11 @@
                 pad_depth = label_length if label_length < 21 else 4
                 output_line += " " * pad_depth
 
                 # Process the rest of the line. Use the original SSA name to generate the LIT
                 # variable names.
-                use_ssa_names=True
+                use_ssa_names = True
                 output_line += process_line(
                     [argument], variable_namer, use_ssa_names, args.strict_name_re
                 )
 
         # Append the output line.

``````````

</details>


https://github.com/llvm/llvm-project/pull/136819


More information about the Mlir-commits mailing list