[Mlir-commits] [mlir] [MLIR][Transform][Python] expose transform.debug extension in Python (PR #145550)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 24 09:56:49 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/python/mlir/dialects/transform/debug.py mlir/test/python/dialects/transform_debug_ext.py
``````````

</details>

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

``````````diff
--- python/mlir/dialects/transform/debug.py	2025-06-24 16:51:53.000000 +0000
+++ python/mlir/dialects/transform/debug.py	2025-06-24 16:56:20.512694 +0000
@@ -49,11 +49,13 @@
 ):
     return DebugEmitParamAsRemarkOp(
         param, anchor=anchor, message=message, loc=loc, ip=ip
     )
 
+
 del debug_emit_param_as_remark
+
 
 @_ods_cext.register_operation(_Dialect, replace=True)
 class DebugEmitRemarkAtOp(DebugEmitRemarkAtOp):
     def __init__(
         self,
@@ -81,6 +83,7 @@
     loc=None,
     ip=None,
 ):
     return DebugEmitRemarkAtOp(at, message, loc=loc, ip=ip)
 
+
 del debug_emit_remark_at

``````````

</details>


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


More information about the Mlir-commits mailing list