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 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string/TestDataFormatterStdString.py
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/string_view/TestDataFormatterStdStringView.py
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string/TestDataFormatterStdU8String.py
 
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/u8string_view/TestDataFormatterStdU8StringView.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
--- string_view/TestDataFormatterStdStringView.py       2025-11-06 
19:05:13.000000 +0000
+++ string_view/TestDataFormatterStdStringView.py       2025-11-06 
19:34:54.981329 +0000
@@ -90,13 +90,11 @@
             type=wstring_view_name,
             summary='L"hello world!\\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"',
         )
         self.expect_var_path("u16_string", type=u16string_view_name, 
summary='u"ß水氶"')
         self.expect_var_path("u16_empty", type=u16string_view_name, 
summary='u""')
-        self.expect_var_path(
-            "u32_string", type=u32string_view_name, summary='U"🍄🍅🍆🍌"'
-        )
+        self.expect_var_path("u32_string", type=u32string_view_name, 
summary='U"🍄🍅🍆🍌"')
         self.expect_var_path("u32_empty", type=u32string_view_name, 
summary='U""')
 
         # GetSummary returns None so can't be checked by expect_var_path, so we
         # use the str representation instead
         null_obj = self.frame().GetValueForVariablePath("null_str")
@@ -151,13 +149,11 @@
             type=wstring_view_name,
             summary='L"hello world!\\0てざ ル゜䋨ミ㠧槊 きゅへ狦穤襩 じゃ馩リョ 䤦監"',
         )
         self.expect_var_path("u16_string", type=u16string_view_name, 
summary='u"ß水氶"')
         self.expect_var_path("u16_empty", type=u16string_view_name, 
summary='u""')
-        self.expect_var_path(
-            "u32_string", type=u32string_view_name, summary='U"🍄🍅🍆🍌"'
-        )
+        self.expect_var_path("u32_string", type=u32string_view_name, 
summary='U"🍄🍅🍆🍌"')
         self.expect_var_path("u32_empty", type=u32string_view_name, 
summary='U""')
 
         self.runCmd("cont")
         self.expect(
             "thread list",

``````````

</details>


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

Reply via email to