Skip to content

Commit f574fef

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mypy/checker.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8600,7 +8600,11 @@ def reduce_conditional_maps(
86008600
def is_singleton_value(t: Type) -> bool:
86018601
t = get_proper_type(t)
86028602
# TODO: check the type object thing
8603-
ret = isinstance(t, LiteralType) or t.is_singleton_type() or (isinstance(t, CallableType) and t.is_type_obj())
8603+
ret = (
8604+
isinstance(t, LiteralType)
8605+
or t.is_singleton_type()
8606+
or (isinstance(t, CallableType) and t.is_type_obj())
8607+
)
86048608
# print("!!!", t, type(t), ret)
86058609
return ret
86068610

0 commit comments

Comments
 (0)