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
llvm/utils/lit/tests/Inputs/shtest-not-posix/fail-signal.py
llvm/utils/lit/tests/shtest-not-posix.py llvm/utils/lit/lit/TestRunner.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
--- lit/TestRunner.py 2026-01-03 22:49:35.000000 +0000
+++ lit/TestRunner.py 2026-01-03 22:50:52.736322 +0000
@@ -912,11 +912,11 @@
# operator '!', leave them out from the command to execute and
# invert the result code afterwards.
if not_crash:
args = not_args + args
not_count = 0
- elif not_args == ['not']:
+ elif not_args == ["not"]:
pass
else:
not_args = []
stdin, stdout, stderr = processRedirects(
@@ -1009,11 +1009,11 @@
)
)
if old_umask != -1:
os.umask(old_umask)
proc_not_counts.append(not_count)
- if not not_crash and not_args == ['not']:
+ if not not_crash and not_args == ["not"]:
proc_not_fail_if_crash.append(True)
else:
proc_not_fail_if_crash.append(False)
# Let the helper know about this process
timeoutHelper.addProcess(procs[-1])
``````````
</details>
https://github.com/llvm/llvm-project/pull/174298
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits