Skip to content

Commit c30b3a3

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mypy/stubgenc.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"_unhashable_values_",
4949
"_use_args_",
5050
"_value2member_map_",
51-
"_value_repr_"
51+
"_value_repr_",
5252
}
5353

5454

@@ -888,7 +888,9 @@ def generate_class_stub(
888888
static_properties.append(f"{self._indent}{attr} = {cls._member_map_[attr].value}")
889889
else:
890890
classvar = self.add_name("typing.ClassVar")
891-
static_properties.append(f"{self._indent}{attr}: {classvar}[{prop_type_name}] = ...")
891+
static_properties.append(
892+
f"{self._indent}{attr}: {classvar}[{prop_type_name}] = ..."
893+
)
892894

893895
self.dedent()
894896

0 commit comments

Comments
 (0)