Skip to content

Commit 0076ae8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 99d4465 commit 0076ae8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mypy/types.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -2860,9 +2860,8 @@ def __eq__(self, other: object) -> bool:
28602860
return self.item == other.item
28612861

28622862
def is_singleton_type(self) -> bool:
2863-
return (
2864-
(isinstance(self.item, Instance) and self.item.type.is_final)
2865-
or isinstance(self.item, NoneType)
2863+
return (isinstance(self.item, Instance) and self.item.type.is_final) or isinstance(
2864+
self.item, NoneType
28662865
)
28672866

28682867
def serialize(self) -> JsonDict:

0 commit comments

Comments
 (0)