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/packages/Python/lldbsuite/test/decorators.py
lldb/test/API/driver/batch_mode/TestBatchMode.py
lldb/test/API/macosx/mte/TestDarwinMTE.py
lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py
lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
lldb/test/API/python_api/hello_world/TestHelloWorld.py
lldb/test/API/python_api/process/address-masks/TestAddressMasks.py
lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py
lldb/test/API/python_api/sbplatform/TestSBPlatform.py
lldb/test/API/qemu/TestQemuLaunch.py
lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
lldb/test/API/tools/lldb-server/TestNonStop.py
lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py
lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py
lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py
lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.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
--- packages/Python/lldbsuite/test/decorators.py 2026-08-07
10:54:18.000000 +0000
+++ packages/Python/lldbsuite/test/decorators.py 2026-08-07
11:04:27.964634 +0000
@@ -1176,11 +1176,13 @@
return
requirePlatform(lldbplatform.translate(lldbplatform.darwin_all))(func)
def requireNotDarwin(reason: str):
"""Mark the item as inherently inapplicable to Darwin targets."""
- return requireNotPlatform(lldbplatform.translate(lldbplatform.darwin_all),
reason=reason)
+ return requireNotPlatform(
+ lldbplatform.translate(lldbplatform.darwin_all), reason=reason
+ )
def requireLinux(func):
"""Mark the item as inherently Linux-only (procfs, Linux-specific syscalls,
...). Other targets report UNSUPPORTED."""
--- test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
2026-08-07 10:54:18.000000 +0000
+++ test/API/python_api/process/read-mem-cstring/TestReadMemCString.py
2026-08-07 11:04:28.209725 +0000
@@ -9,11 +9,13 @@
class TestReadMemCString(TestBase):
NO_DEBUG_INFO_TESTCASE = True
- @requireNotWasm("linear memory has no unmapped pages, so a bad in-range
pointer still reads")
+ @requireNotWasm(
+ "linear memory has no unmapped pages, so a bad in-range pointer still
reads"
+ )
def test_read_memory_c_string(self):
"""Test corner case behavior of SBProcess::ReadCStringFromMemory"""
self.build()
self.dbg.SetAsync(False)
``````````
</details>
https://github.com/llvm/llvm-project/pull/214701
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits