[Mlir-commits] [mlir] [mlir][python] add type wrappers (PR #71218)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 13 09:06:35 PST 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 0e42df4031e8b2fec357e07ca5ca3b81adf0b5ad..d809aa5e9d530a8811b0649db38d55c104ff1eee mlir/python/mlir/types.py mlir/test/python/ir/builtin_types.py
``````````

</details>

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

``````````diff
--- test/python/ir/builtin_types.py	2023-11-13 17:03:45.000000 +0000
+++ test/python/ir/builtin_types.py	2023-11-13 17:06:28.651477 +0000
@@ -775,11 +775,10 @@
 
 
 # CHECK-LABEL: TEST: testTypeWrappers
 @run
 def testTypeWrappers():
-
     try:
         from mlir.types import i32
     except RuntimeError as e:
         # CHECK: RuntimeError: An MLIR function requires a Context
         print(e)

``````````

</details>


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


More information about the Mlir-commits mailing list