Skip to content

Commit

Permalink
ruff-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
emmau678 authored and emmau678 committed Oct 21, 2024
1 parent be9fb4a commit 135459b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xdsl/transforms/varith_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class VarithToArithPattern(RewritePattern):
"""

def match_and_rewrite(self, op: varith.VarithOp, rewriter: PatternRewriter, /):

Check failure on line 83 in xdsl/transforms/varith_transformations.py

View workflow job for this annotation

GitHub Actions / build (3.11)

Method "match_and_rewrite" overrides class "RewritePattern" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "Operation", override parameter is type "VarithOp"     "Operation" is not assignable to "VarithOp" (reportIncompatibleMethodOverride)

dest_type = VARITH_TO_ARITH_TYPE_MAP[type(op)]
varith_type = type(op)

Expand Down

0 comments on commit 135459b

Please sign in to comment.