Fix line length linting error, add expaliner comment

This commit is contained in:
igorkorenfeld 2022-11-14 15:51:18 -05:00
parent edfba9e5bd
commit 776ecae30f
No known key found for this signature in database
GPG key ID: 826947A4B867F659

View file

@ -12,6 +12,7 @@ from formtools.wizard.views import NamedUrlSessionWizardView # type: ignore
logger = logging.getLogger(__name__)
# Subclass used to remove the default colon suffix from all fields
class RegistrarForm(forms.Form):
def __init__(self, *args, **kwargs):
kwargs.setdefault("label_suffix", "")
@ -176,7 +177,8 @@ class AuthorizingOfficialForm(RegistrarForm):
class CurrentSitesForm(RegistrarForm):
current_site = forms.CharField(
required=False,
label="Enter your organizations public website, if you have one. For example, www.city.com.",
label="Enter your organizations public website, if you have one. For example, "
"www.city.com.",
)
@ -184,7 +186,8 @@ class DotGovDomainForm(RegistrarForm):
dotgov_domain = forms.CharField(label="What .gov domain do you want?")
alternative_domain = forms.CharField(
required=False,
label="Are there other domains youd like if we cant give you your first choice? Entering alternative domains is optional.",
label="Are there other domains youd like if we cant give you your first "
"choice? Entering alternative domains is optional.",
)