We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ada9e commit c30b3a3Copy full SHA for c30b3a3
mypy/stubgenc.py
@@ -48,7 +48,7 @@
48
"_unhashable_values_",
49
"_use_args_",
50
"_value2member_map_",
51
- "_value_repr_"
+ "_value_repr_",
52
}
53
54
@@ -888,7 +888,9 @@ def generate_class_stub(
888
static_properties.append(f"{self._indent}{attr} = {cls._member_map_[attr].value}")
889
else:
890
classvar = self.add_name("typing.ClassVar")
891
- static_properties.append(f"{self._indent}{attr}: {classvar}[{prop_type_name}] = ...")
+ static_properties.append(
892
+ f"{self._indent}{attr}: {classvar}[{prop_type_name}] = ..."
893
+ )
894
895
self.dedent()
896
0 commit comments