From a6e978d6b9c5fad74fdfca6425b089c1fc228406 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Sat, 20 Jul 2024 08:05:47 -0500 Subject: [PATCH] Remove unused "type: ignore" --- apps/accounts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/accounts/views.py b/apps/accounts/views.py index fd19b50a..6899eef3 100755 --- a/apps/accounts/views.py +++ b/apps/accounts/views.py @@ -13,7 +13,7 @@ class NameChange(LoginRequiredMixin, generic.FormView): # type: ignore def get_form_kwargs(self): kwargs = super().get_form_kwargs() - kwargs["instance"] = User.objects.get(pk=self.request.user.pk) # type: ignore + kwargs["instance"] = User.objects.get(pk=self.request.user.pk) return kwargs def form_valid(self, form):