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/lang/cpp/type_lookup_anon_struct/TestCppTypeLookupAnonStruct.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- TestCppTypeLookupAnonStruct.py 2025-05-05 06:43:28.000000 +0000 +++ TestCppTypeLookupAnonStruct.py 2025-05-05 06:48:40.843313 +0000 @@ -10,18 +10,24 @@ class TestTypeLookupAnonStruct(TestBase): def test_lookup_anon_struct(self): self.build() lldbutil.run_to_source_breakpoint( - self, '// Set breakpoint here', lldb.SBFileSpec('main.cpp') + self, "// Set breakpoint here", lldb.SBFileSpec("main.cpp") ) - self.expect_var_path('unnamed_derived.y', value='2') - self.expect_var_path('unnamed_derived.z', value='13') - self.expect('frame variable "derb.x"', error=True, - substrs=['"x" is not a member of "(DerivedB) derb"']) - self.expect('frame variable "derb.y"', error=True, - substrs=['"y" is not a member of "(DerivedB) derb"']) - self.expect_var_path('derb.w', value='14') - self.expect_var_path('derb.k', value='15') - self.expect_var_path('derb.a.x', value='1') - self.expect_var_path('derb.a.y', value='2') + self.expect_var_path("unnamed_derived.y", value="2") + self.expect_var_path("unnamed_derived.z", value="13") + self.expect( + 'frame variable "derb.x"', + error=True, + substrs=['"x" is not a member of "(DerivedB) derb"'], + ) + self.expect( + 'frame variable "derb.y"', + error=True, + substrs=['"y" is not a member of "(DerivedB) derb"'], + ) + self.expect_var_path("derb.w", value="14") + self.expect_var_path("derb.k", value="15") + self.expect_var_path("derb.a.x", value="1") + self.expect_var_path("derb.a.y", value="2") `````````` </details> https://github.com/llvm/llvm-project/pull/138487 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits