[Lldb-commits] [lldb] [lldb] Proof of concept data formatter compiler for Python (PR #113734)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 12:59:41 PDT 2024


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 eb9f4756bc3daaa4b19f4f46521dc05180814de4...57223942e91c47d0a61b148a65247cd9cbb16496 lldb/examples/formatter-bytecode/optional_summary.py lldb/examples/formatter-bytecode/python_to_assembly.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- python_to_assembly.py	2024-10-25 19:56:12.000000 +0000
+++ python_to_assembly.py	2024-10-25 19:59:11.920862 +0000
@@ -20,10 +20,11 @@
     ast.Lt: "<",
     ast.LtE: "=<",
     ast.Gt: ">",
     ast.GtE: "=>",
 }
+
 
 class Compiler(ast.NodeVisitor):
     # Track the stack index of locals variables.
     #
     # This is essentially an ordered dictionary, where the key is an index on

``````````

</details>


https://github.com/llvm/llvm-project/pull/113734


More information about the lldb-commits mailing list