[Mlir-commits] [mlir] [mlir][utils] Update generate-test-checks.py (PR #136721)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Apr 22 09:03:09 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-22 15:57:54.000000 +0000
+++ generate-test-checks.py	2025-04-22 16:02:39.079768 +0000
@@ -298,11 +298,12 @@
     parser.add_argument(
         "--strict_name_re",
         type=bool,
         default=False,
         help="Set to true to use stricter regex for CHECK-SAME directives. "
-        "Use when Greedy matching causes issues with the generic '.*'")
+        "Use when Greedy matching causes issues with the generic '.*'",
+    )
 
     args = parser.parse_args()
 
     # Open the given input file.
     input_lines = [l.rstrip() for l in args.input]

``````````

</details>


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


More information about the Mlir-commits mailing list