[Mlir-commits] [mlir] [mlir][python] allow people to register dialects with the default context (PR #72488)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 15 23:42:56 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 181e8065ed56a3c3c3686c091e901e3481321840..f846272f0dc329f4d9b7f3fbe3b285a94a598841 mlir/python/mlir/_mlir_libs/__init__.py mlir/python/mlir/dialects/python_test.py mlir/python/mlir/ir.py mlir/test/python/dialects/python_test.py
``````````

</details>

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

``````````diff
--- python/mlir/dialects/python_test.py	2023-11-16 07:40:07.000000 +0000
+++ python/mlir/dialects/python_test.py	2023-11-16 07:42:48.368154 +0000
@@ -11,6 +11,7 @@
 )
 
 
 def register_python_test_dialect(registry):
     from .._mlir_libs import _mlirPythonTest
+
     _mlirPythonTest.register_dialect(registry)

``````````

</details>


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


More information about the Mlir-commits mailing list