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 
lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
``````````

</details>

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

``````````diff
--- TestVectorTypesFormatting.py        2025-08-22 18:08:34.000000 +0000
+++ TestVectorTypesFormatting.py        2025-08-22 18:15:03.143433 +0000
@@ -69,20 +69,23 @@
         )
         self.expect(
             f"expr{jit_flag} -f uint128_t[] -- v",
             substrs=["(85236745249553456609335044694184296448)"],
         )
-        self.expect(f"expr{jit_flag} -f float32[] -- v", substrs=["(1.25, 
1.25, 2.5, 2.5)"])
+        self.expect(
+            f"expr{jit_flag} -f float32[] -- v", substrs=["(1.25, 1.25, 2.5, 
2.5)"]
+        )
 
         self.expect(f"expr{jit_flag} -- f4", substrs=["(1.25, 1.25, 2.5, 
2.5)"])
 
         self.expect(f"expr{jit_flag} -- float4(0)", substrs=["(0, 0, 0, 0)"])
         self.expect(f"expr{jit_flag} -- float4(1)", substrs=["(1, 1, 1, 1)"])
-        self.expect(f"expr{jit_flag} -- float4{0.1, 0.2, 0.3, 0.4}",
-                    substrs=["(0.1, 0.2, 0.3, 0.4)"])
-        self.expect(f"expr{jit_flag} -- float4{0.1, 0.2, 0.3, 0.4}[0]",
-                    substrs=["0.1"])
+        self.expect(
+            f"expr{jit_flag} -- float4{0.1, 0.2, 0.3, 0.4}",
+            substrs=["(0.1, 0.2, 0.3, 0.4)"],
+        )
+        self.expect(f"expr{jit_flag} -- float4{0.1, 0.2, 0.3, 0.4}[0]", 
substrs=["0.1"])
 
         oldValue = v.GetChildAtIndex(0).GetValue()
         v.SetFormat(lldb.eFormatHex)
         newValue = v.GetChildAtIndex(0).GetValue()
         self.assertNotEqual(

``````````

</details>


https://github.com/llvm/llvm-project/pull/155000
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to