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 
b335d5a8303250cb49901ecae7570adf61abbd3c...57638e91c97486ad7739f9658fe88f7fb4d61fb2
 lldb/examples/python/fzf_history.py
``````````

</details>

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

``````````diff
--- fzf_history.py      2025-02-24 20:48:36.000000 +0000
+++ fzf_history.py      2025-02-24 20:51:35.934110 +0000
@@ -6,11 +6,11 @@
 import lldb
 
 
 @lldb.command()
 def fzf_history(debugger, cmdstr, ctx, result, _):
-    if sys.platform != 'darwin':
+    if sys.platform != "darwin":
         result.SetError("fzf_history supports macOS only")
         return
 
     # Capture the current pasteboard contents to restore after overwriting.
     paste_snapshot = subprocess.run("pbpaste", text=True, 
capture_output=True).stdout

``````````

</details>


https://github.com/llvm/llvm-project/pull/128571
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to