Skip to content

Commit e922a70

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mypy/types_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ def is_overlapping_none(t: Type) -> bool:
126126
return (
127127
isinstance(t, NoneType)
128128
or isinstance(t, AnyType)
129-
or (isinstance(t, UnionType) and any(isinstance(get_proper_type(e), NoneType) for e in t.items))
129+
or (
130+
isinstance(t, UnionType)
131+
and any(isinstance(get_proper_type(e), NoneType) for e in t.items)
132+
)
130133
)
131134

132135

0 commit comments

Comments
 (0)