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/UpdateTestChecks/mir.py
llvm/utils/update_llc_test_checks.py llvm/utils/update_mir_test_checks.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
--- UpdateTestChecks/mir.py 2025-11-25 09:50:35.000000 +0000
+++ UpdateTestChecks/mir.py 2025-11-25 09:59:50.186781 +0000
@@ -9,12 +9,14 @@
)
class _ConflictMarker:
"""Sentinel indicating conflicting output for the same prefix across
different RUN lines."""
+
def __bool__(self):
return False # Behaves like None in boolean context
+
def __repr__(self):
return "CONFLICT"
CONFLICT = _ConflictMarker()
``````````
</details>
https://github.com/llvm/llvm-project/pull/169476
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits