[Mlir-commits] [mlir] [mlir] Start rewrite tool (PR #77668)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jan 10 10:58:26 PST 2024


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 5c9b713394486be91dc181062e5c01d696c30787...679ce1dc2838bdda73538d4bcfe5f3cbda83a77f mlir/test/lit.cfg.py
``````````

</details>

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

``````````diff
--- lit.cfg.py	2024-01-10 18:53:45.000000 +0000
+++ lit.cfg.py	2024-01-10 18:58:18.304575 +0000
@@ -144,11 +144,11 @@
         )
     )
 
 if config.enable_mlir_rewrite:
     tools.extend(["mlir-rewrite"])
-    config.available_features.add('mlir-rewrite')
+    config.available_features.add("mlir-rewrite")
 
 # The following tools are optional
 tools.extend(
     [
         ToolSubst("toyc-ch1", unresolved="ignore"),

``````````

</details>


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


More information about the Mlir-commits mailing list