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 bolt/utils/nfc-check-setup.py
``````````

</details>

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

``````````diff
--- nfc-check-setup.py  2025-07-04 14:10:54.000000 +0000
+++ nfc-check-setup.py  2025-07-04 14:15:42.929615 +0000
@@ -5,11 +5,12 @@
 import shlex
 import subprocess
 import sys
 import textwrap
 
-msg_prefix="\n> NFC-Mode:"
+msg_prefix = "\n> NFC-Mode:"
+
 
 def get_relevant_bolt_changes(dir: str) -> str:
     # Return a list of bolt source changes that are relevant to testing.
     all_changes = subprocess.run(
         shlex.split("git show HEAD --name-only --pretty=''"),
@@ -209,10 +210,10 @@
     if args.create_wrapper:
         print(
             "Can run BOLT tests using:\n"
             "\tbin/llvm-lit -sv tools/bolt/test\nor\n"
             "\tbin/llvm-lit -sv tools/bolttests"
-            )
+        )
 
 
 if __name__ == "__main__":
     main()

``````````

</details>


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

Reply via email to