Skip to content

Commit 1e4622b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8949bcc commit 1e4622b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

mypy/checkexpr.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6616,10 +6616,7 @@ def __init__(self, ignore_in_type_obj: bool) -> None:
66166616
self.ignore_in_type_obj = ignore_in_type_obj
66176617

66186618
def visit_any(self, t: AnyType) -> bool:
6619-
return t.type_of_any not in (
6620-
TypeOfAny.special_form,
6621-
TypeOfAny.from_alias_target,
6622-
)
6619+
return t.type_of_any not in (TypeOfAny.special_form, TypeOfAny.from_alias_target)
66236620

66246621
def visit_callable_type(self, t: CallableType) -> bool:
66256622
if self.ignore_in_type_obj and t.is_type_obj():

0 commit comments

Comments
 (0)