From a12bbbfe8dcb31e18948c1cef0ede5c4cd32deb5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 5 May 2023 13:01:04 +0100 Subject: [PATCH] Remove unnecessary type comment --- website/contrib/unsplash/wagtail_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/contrib/unsplash/wagtail_hooks.py b/website/contrib/unsplash/wagtail_hooks.py index 19768d5..4169b43 100644 --- a/website/contrib/unsplash/wagtail_hooks.py +++ b/website/contrib/unsplash/wagtail_hooks.py @@ -23,7 +23,7 @@ class UnsplashPhotoCreateView(CreateView): WagtailAdminModelForm ] = self.edit_handler.get_form_class() - class CreateFormClass(EditHandlerForm): # type: ignore[valid-type,misc] + class CreateFormClass(EditHandlerForm): def clean(self) -> None: cleaned_data = super().clean() try: