[Mlir-commits] [mlir] [mlir][python] value casting (PR #69644)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Oct 25 13:02:22 PDT 2023


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 c2b64dfaa4029489d72fe3e1d6e2a8fd33f4510a..23b9201f8cdced342ea1b783bcb8b037a4887aa6 mlir/python/mlir/dialects/_ods_common.py mlir/python/mlir/ir.py mlir/test/python/dialects/arith_dialect.py
``````````

</details>

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

``````````diff
--- test/python/dialects/arith_dialect.py	2023-10-25 19:50:19.000000 +0000
+++ test/python/dialects/arith_dialect.py	2023-10-25 20:02:14.852801 +0000
@@ -95,6 +95,5 @@
             def reduction(arg):
                 # CHECK: as func arg ArithValue
                 print("as func arg", arg.__class__.__name__)
                 # CHECK: in init OpResult
                 r = arg + arg
-

``````````

</details>


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


More information about the Mlir-commits mailing list