[Mlir-commits] [mlir] [MLIR][Python] Standalone wheel (PR #160388)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Sep 23 13:24:03 PDT 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 origin/main...HEAD mlir/examples/standalone/python/version.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
--- version.py 2025-09-23 20:20:22.000000 +0000
+++ version.py 2025-09-23 20:23:37.909561 +0000
@@ -14,11 +14,10 @@
def dynamic_metadata(
field: str,
settings: dict[str, object] | None = None,
_project: dict[str, object] = None,
) -> str:
-
if field != "version":
msg = "Only the 'version' field is supported"
raise ValueError(msg)
if settings:
``````````
</details>
https://github.com/llvm/llvm-project/pull/160388
More information about the Mlir-commits
mailing list