Skip to content

Commit 8d5904a

Browse files
Fix merge conflicts
1 parent 5c2d07e commit 8d5904a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/egglog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
from .conversion import *
99
from .deconstruct import *
1010
from .egraph import *
11-
from .runtime import define_expr_method as define_expr_method # noqa: PLC0414
11+
from .runtime import define_expr_method as define_expr_method
1212

1313
del ipython_magic

python/egglog/runtime.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,15 +577,15 @@ def __eq__(self, other: object) -> object: # type: ignore[override]
577577

578578
# TODO: Check if two objects can be upcasted to be the same. If not, then return NotImplemented so other
579579
# expr gets a chance to resolve __eq__ which could be a preserved method.
580-
from .egraph import BaseExpr, eq
580+
from .egraph import BaseExpr, eq # noqa: PLC0415
581581

582582
return eq(cast("BaseExpr", self)).to(cast("BaseExpr", other))
583583

584584
def __ne__(self, other: object) -> object: # type: ignore[override]
585585
if (method := _get_expr_method(self, "__ne__")) is not None:
586586
return method(other)
587587

588-
from .egraph import BaseExpr, ne
588+
from .egraph import BaseExpr, ne # noqa: PLC0415
589589

590590
return ne(cast("BaseExpr", self)).to(cast("BaseExpr", other))
591591

@@ -647,7 +647,7 @@ def _numeric_binary_method(self: object, other: object, name: str = name, r_meth
647647
)
648648
)
649649
):
650-
from .conversion import CONVERSIONS, resolve_type, retrieve_conversion_decls
650+
from .conversion import CONVERSIONS, resolve_type, retrieve_conversion_decls # noqa: PLC0415
651651

652652
# tuple of (cost, convert_self)
653653
best_method: (

0 commit comments

Comments
 (0)