Remove unnecessary type comment

This commit is contained in:
Jake Howard 2023-05-05 13:01:04 +01:00
parent cd7aa02ee6
commit a12bbbfe8d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -23,7 +23,7 @@ class UnsplashPhotoCreateView(CreateView):
WagtailAdminModelForm WagtailAdminModelForm
] = self.edit_handler.get_form_class() ] = self.edit_handler.get_form_class()
class CreateFormClass(EditHandlerForm): # type: ignore[valid-type,misc] class CreateFormClass(EditHandlerForm):
def clean(self) -> None: def clean(self) -> None:
cleaned_data = super().clean() cleaned_data = super().clean()
try: try: