Skip to content

Commit 8b882e3

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

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
@@ -7013,4 +7013,3 @@ def f(x: Incomplete) -> Incomplete: # no error
70137013

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

0 commit comments

Comments
 (0)