You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when merge_init_into_class and show_signature_annotations are enabled, the class signature looks like None is returned when the class is called, which looks strange and misleading:
SomeClass() ->None
The simplest solution seems to be hiding the return type for classes. The ideal solution is to take the return type from __new__.
The text was updated successfully, but these errors were encountered:
Currently, when
merge_init_into_class
andshow_signature_annotations
are enabled, the class signature looks likeNone
is returned when the class is called, which looks strange and misleading:The simplest solution seems to be hiding the return type for classes. The ideal solution is to take the return type from
__new__
.The text was updated successfully, but these errors were encountered: