Skip to content

Commit e1cf548

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

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

mypy/stats.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,7 @@ def is_complex(t: Type) -> bool:
483483

484484

485485
def is_special_form_any(t: AnyType) -> bool:
486-
return get_original_any(t).type_of_any in (
487-
TypeOfAny.special_form,
488-
TypeOfAny.from_alias_target,
489-
)
486+
return get_original_any(t).type_of_any in (TypeOfAny.special_form, TypeOfAny.from_alias_target)
490487

491488

492489
def get_original_any(t: AnyType) -> AnyType:

test-data/unit/check-overloading.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7014,4 +7014,3 @@ def f(x: Incomplete) -> Incomplete: # no error
70147014

70157015
a: Incomplete = 1 # no error
70167016
[builtins fixtures/tuple.pyi]
7017-

0 commit comments

Comments
 (0)