[Lldb-commits] [lldb] [lldb] Add fzf_history command to examples (PR #128571)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 24 12:52:05 PST 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 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
More information about the lldb-commits
mailing list