Skip to content

Commit 4f66aa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2bc24d8 commit 4f66aa2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mypy/checkexpr.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,7 +4016,6 @@ def check_op_reversible(
40164016
op_name, variants, left_type, right_type, left_expr, right_expr, context
40174017
)
40184018

4019-
40204019
def _lookup_operator(self, op_name: str, base_type: Type, context: Context) -> Type | None:
40214020
"""Look up the given operator and return the corresponding type, if it exists."""
40224021

@@ -4040,7 +4039,6 @@ def _lookup_operator(self, op_name: str, base_type: Type, context: Context) -> T
40404039
)
40414040
return None if w.has_new_errors() else member
40424041

4043-
40444042
def _lookup_definer(self, typ: Instance, attr_name: str) -> str | None:
40454043
"""Returns the name of the class that contains the actual definition of attr_name.
40464044
@@ -4057,7 +4055,6 @@ def _lookup_definer(self, typ: Instance, attr_name: str) -> str | None:
40574055
return cls.fullname
40584056
return None
40594057

4060-
40614058
def _determine_operator_order(
40624059
self,
40634060
op_name: str,
@@ -4111,7 +4108,6 @@ def _determine_operator_order(
41114108
(rev_op_name, right_op, right_type, left_expr),
41124109
]
41134110

4114-
41154111
def _attempt_operator_applications(
41164112
self,
41174113
op_name: str,

0 commit comments

Comments
 (0)