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/functionalities/memory/find/TestMemoryFind.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestMemoryFind.py 2025-06-12 13:53:13.000000 +0000
+++ TestMemoryFind.py 2025-06-12 13:56:17.320272 +0000
@@ -81,32 +81,42 @@
)
# Expression results with unsupported result types.
self.expect(
'memory find -e "ThreeBytes{}" `&bytedata[0]` `&bytedata[2]`',
- substrs=["Only expressions resulting in 1, 2, 4, or 8-byte-sized
values are supported"],
+ substrs=[
+ "Only expressions resulting in 1, 2, 4, or 8-byte-sized values
are supported"
+ ],
error=True,
)
self.expect(
'memory find -e "FiveBytes{}" `&bytedata[0]` `&bytedata[2]`',
- substrs=["Only expressions resulting in 1, 2, 4, or 8-byte-sized
values are supported"],
+ substrs=[
+ "Only expressions resulting in 1, 2, 4, or 8-byte-sized values
are supported"
+ ],
error=True,
)
self.expect(
'memory find -e "SixBytes{}" `&bytedata[0]` `&bytedata[2]`',
- substrs=["Only expressions resulting in 1, 2, 4, or 8-byte-sized
values are supported"],
+ substrs=[
+ "Only expressions resulting in 1, 2, 4, or 8-byte-sized values
are supported"
+ ],
error=True,
)
self.expect(
'memory find -e "SevenBytes{}" `&bytedata[0]` `&bytedata[2]`',
- substrs=["Only expressions resulting in 1, 2, 4, or 8-byte-sized
values are supported"],
+ substrs=[
+ "Only expressions resulting in 1, 2, 4, or 8-byte-sized values
are supported"
+ ],
error=True,
)
self.expect(
'memory find -e "NineBytes{}" `&bytedata[0]` `&bytedata[2]`',
- substrs=["Only expressions resulting in 1, 2, 4, or 8-byte-sized
values are supported"],
+ substrs=[
+ "Only expressions resulting in 1, 2, 4, or 8-byte-sized values
are supported"
+ ],
error=True,
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/143686
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits