Skip to content

Conversation

@makslevental
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 28, 2025

⚠️ Python code formatter, darker found issues in your code. ⚠️

You can test this locally with the following command:
darker --check --diff -r origin/main...HEAD mlir/examples/standalone/test/python/smoketest.py

⚠️
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.
⚠️

View the diff from darker here.
--- smoketest.py	2025-08-28 16:16:38.000000 +0000
+++ smoketest.py	2025-08-28 16:18:41.396788 +0000
@@ -28,8 +28,11 @@
 from mlir_standalone.dialects import quant
 
 try:
     from mlir_standalone.dialects import quant
 except ImportError as e:
-    assert "symbol not found in flat namespace '_mlirTypeIsAAnyQuantizedType'" not in e.args[0]
+    assert (
+        "symbol not found in flat namespace '_mlirTypeIsAAnyQuantizedType'"
+        not in e.args[0]
+    )
 else:
     assert False, "expected exception not raised"

@makslevental makslevental deleted the users/makslevental/fix-standalone-example branch September 5, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants