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/riscv/step/TestSoftwareStep.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
--- TestSoftwareStep.py 2025-09-02 17:46:07.000000 +0000
+++ TestSoftwareStep.py 2025-09-02 17:51:09.014678 +0000
@@ -28,11 +28,11 @@
 
         # Get the instruction we stopped at
         pc = cur_thread.GetFrameAtIndex(0).GetPCAddress()
         inst = target.ReadInstructions(pc, 1).GetInstructionAtIndex(0)
 
-        inst_mnemonic = inst.GetMnemonic(target) 
+        inst_mnemonic = inst.GetMnemonic(target)
         inst_operands = inst.GetOperands(target)
         if not inst_operands:
             return inst_mnemonic
 
         return f"{inst_mnemonic} {inst_operands}"

``````````

</details>


https://github.com/llvm/llvm-project/pull/156506
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to