formatted for linter

This commit is contained in:
David Kennedy 2024-01-12 18:07:02 -05:00
parent 73b0b33ee8
commit 946baf05e9
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 6 additions and 4 deletions

View file

@ -33,7 +33,7 @@ class RegistrarForm(forms.Form):
# save a reference to an application object
self.application = kwargs.pop("application", None)
super(RegistrarForm, self).__init__(*args, **kwargs)
def to_database(self, obj: DomainApplication | Contact):
"""
Adds this form's cleaned data to `obj` and saves `obj`.
@ -329,7 +329,7 @@ class AboutYourOrganizationForm(RegistrarForm):
class AuthorizingOfficialForm(RegistrarForm):
JOIN = "authorizing_official"
def to_database(self, obj):
if not self.is_valid():
return