Skip to content

Commit 3415fca

Browse files
author
hauntsaninja
committed
fix flake8
1 parent 565a3da commit 3415fca

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Diff for: mypy/types.py

+8-7
Original file line numberDiff line numberDiff line change
@@ -407,13 +407,14 @@ def serialize(self) -> JsonDict:
407407
@classmethod
408408
def deserialize(cls, data: JsonDict) -> 'TypeVarType':
409409
assert data['.class'] == 'TypeVarType'
410-
return TypeVarType(data['name'],
411-
data['fullname'],
412-
data['id'],
413-
[deserialize_type(v) for v in data['values']],
414-
deserialize_type(data['upper_bound']),
415-
data['variance'],
416-
)
410+
return TypeVarType(
411+
data['name'],
412+
data['fullname'],
413+
data['id'],
414+
[deserialize_type(v) for v in data['values']],
415+
deserialize_type(data['upper_bound']),
416+
data['variance'],
417+
)
417418

418419

419420
class ParamSpecDef(TypeVarLikeDef):

0 commit comments

Comments
 (0)