formatted for linter

This commit is contained in:
David Kennedy 2024-05-16 14:38:03 -04:00
parent a90b124b93
commit cd94342d5c
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 31 additions and 33 deletions

View file

@ -14,8 +14,10 @@ from registrar.models import (
from registrar.views.utility.permission_views import UserProfilePermissionView
from waffle.decorators import flag_is_active, waffle_flag
logger = logging.getLogger(__name__)
class UserProfileView(UserProfilePermissionView, FormMixin):
"""
Base View for the User Profile. Handles getting and setting the User Profile
@ -33,8 +35,8 @@ class UserProfileView(UserProfilePermissionView, FormMixin):
context = self.get_context_data(object=self.object, form=form)
return self.render_to_response(context)
@waffle_flag("profile_feature")
def dispatch(self, request, *args, **kwargs):
@waffle_flag("profile_feature") # type: ignore
def dispatch(self, request, *args, **kwargs): # type: ignore
return super().dispatch(request, *args, **kwargs)
def get_context_data(self, **kwargs):