[Lldb-commits] [lldb] [lldb] Emit diagnostics as "important" output (PR #137280)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 24 18:04:38 PDT 2025
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/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py 2025-04-25 01:01:16.000000 +0000
+++ packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py 2025-04-25 01:04:10.561016 +0000
@@ -232,11 +232,10 @@
def collect_important(self, timeout_secs, pattern=None):
return self.dap_server.collect_output(
"important", timeout_secs=timeout_secs, pattern=pattern
)
-
def get_local_as_int(self, name, threadId=None):
value = self.dap_server.get_local_variable_value(name, threadId=threadId)
# 'value' may have the variable value and summary.
# Extract the variable value since summary can have nonnumeric characters.
``````````
</details>
https://github.com/llvm/llvm-project/pull/137280
More information about the lldb-commits
mailing list