Matej =?utf-8?q?Košík?= <[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/python_api/value/get_expr_path/TestValueAPIGetExpressionPath.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
--- TestValueAPIGetExpressionPath.py 2025-12-09 22:29:39.000000 +0000
+++ TestValueAPIGetExpressionPath.py 2025-12-09 22:52:19.597576 +0000
@@ -36,11 +36,12 @@
f"foo[{i}][{j}][{k}]",
)
self.assertEqual(frame.FindVariable("bar").get_expr_path(), "bar")
for j in range(3):
self.assertEqual(
- frame.FindVariable("bar").GetChildAtIndex(j).get_expr_path(),
f"(*bar)[{j}]"
+ frame.FindVariable("bar").GetChildAtIndex(j).get_expr_path(),
+ f"(*bar)[{j}]",
)
for k in range(4):
self.assertEqual(
frame.FindVariable("bar")
.GetChildAtIndex(j)
``````````
</details>
https://github.com/llvm/llvm-project/pull/171521
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits