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 origin/main...HEAD 
mlir/test/python/ir/array_attributes.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
--- array_attributes.py 2026-02-08 09:57:24.000000 +0000
+++ array_attributes.py 2026-02-08 09:58:56.910335 +0000
@@ -256,11 +256,13 @@
 
 
 @run
 def testGetDenseElementsBool():
     with Context():
-        bool_array = np.array([[True, False, True], [False, True, False]], 
dtype=np.bool_)
+        bool_array = np.array(
+            [[True, False, True], [False, True, False]], dtype=np.bool_
+        )
         attr = DenseElementsAttr.get(bool_array)
         # CHECK: dense<{{\[}}[true, false, true], [false, true, false]]> : 
tensor<2x3xi1>
         print(attr)
 
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/180397
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to