Skip to content

Commit 7f4c740

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 65538b3 commit 7f4c740

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

mypy/checker.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8925,9 +8925,8 @@ def reduce_and_conditional_type_maps(ms: list[TypeMap], *, use_meet: bool) -> Ty
89258925

89268926

89278927
def has_custom_eq_checks(t: Type) -> bool:
8928-
return (
8929-
custom_special_method(t, "__eq__", check_all=False)
8930-
or custom_special_method(t, "__ne__", check_all=False)
8928+
return custom_special_method(t, "__eq__", check_all=False) or custom_special_method(
8929+
t, "__ne__", check_all=False
89318930
)
89328931

89338932

0 commit comments

Comments
 (0)