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/commands/memory/read/TestMemoryRead.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
--- TestMemoryRead.py 2026-07-21 09:29:16.000000 +0000
+++ TestMemoryRead.py 2026-07-21 09:32:50.092339 +0000
@@ -162,13 +162,11 @@
return addr, values
# Taking the address explicitly yields a pointer whose value is the
# array's address; this is the reference every other form must match.
ref_addr, ref_values = read_addr_and_values("&my_ints")
- self.assertEqual(
- ref_values, ["0x00000002", "0x00000004", "0x00000006"]
- )
+ self.assertEqual(ref_values, ["0x00000002", "0x00000004",
"0x00000006"])
# Every one of these forms must resolve to the same address and data:
# &my_ints pointer, via OptionArgParser::ToAddress
# `&my_ints` pointer, via CommandInterpreter::PreprocessToken
# my_ints array decay, via OptionArgParser::ToAddress
``````````
</details>
https://github.com/llvm/llvm-project/pull/210918
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits