Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


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/microsoft_symsrv/TestMicrosoftSymSrv.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
--- TestMicrosoftSymSrv.py      2026-02-24 16:02:51.000000 +0000
+++ TestMicrosoftSymSrv.py      2026-02-24 16:07:49.724420 +0000
@@ -4,10 +4,11 @@
 import tempfile
 
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
+
 
 class MicrosoftSymSrvTests(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     def try_breakpoint(self, should_have_loc):
@@ -72,11 +73,11 @@
 
         return server_dir
 
     def symstore_key(self, exe):
         """Load module UUID like: 12345678-1234-5678-9ABC-DEF012345678-00000001
-           and transform to SymStore key: 12345678123456789ABCDEF0123456781"""
+        and transform to SymStore key: 12345678123456789ABCDEF0123456781"""
         try:
             spec = lldb.SBModuleSpec()
             spec.SetFileSpec(lldb.SBFileSpec(self.getBuildArtifact(exe)))
             module = lldb.SBModule(spec)
             raw = module.GetUUIDString().replace("-", "").upper()
@@ -92,13 +93,13 @@
     @skipUnlessPlatform(["windows"])
     def test_local_folder(self):
         """Check that LLDB can fetch PDB from local SymStore directory"""
         tmp_dir = tempfile.mkdtemp()
         symstore_dir = self.populate_symstore(tmp_dir)
-        
+
         self.runCmd(
-            "settings set plugin.symbol-locator.microsoft.symstore-urls %s" %
-            symstore_dir.replace("\\", "/")
+            "settings set plugin.symbol-locator.microsoft.symstore-urls %s"
+            % symstore_dir.replace("\\", "/")
         )
 
         self.try_breakpoint(should_have_loc=True)
         shutil.rmtree(tmp_dir)

``````````

</details>


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

Reply via email to