mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-07 21:15:38 +02:00
Overzealous linter
This commit is contained in:
parent
43160df81b
commit
644ca4638a
1 changed files with 3 additions and 3 deletions
|
@ -662,7 +662,7 @@ class CisaRepresentativeYesNoForm(BaseYesNoForm):
|
||||||
"""Yes/no toggle for the CISA regions question on additional details"""
|
"""Yes/no toggle for the CISA regions question on additional details"""
|
||||||
|
|
||||||
# Note that these can be set as functions/init if you need more fine-grained control
|
# Note that these can be set as functions/init if you need more fine-grained control
|
||||||
form_is_checked = property(lambda self: self.domain_request.has_cisa_representative())
|
form_is_checked = property(lambda self: self.domain_request.has_cisa_representative()) # type: ignore
|
||||||
field_name = "has_cisa_representative"
|
field_name = "has_cisa_representative"
|
||||||
|
|
||||||
|
|
||||||
|
@ -683,8 +683,8 @@ class AdditionalDetailsForm(BaseDeletableRegistrarForm):
|
||||||
class AdditionalDetailsYesNoForm(BaseYesNoForm):
|
class AdditionalDetailsYesNoForm(BaseYesNoForm):
|
||||||
"""Yes/no toggle for the anything else question on additional details"""
|
"""Yes/no toggle for the anything else question on additional details"""
|
||||||
|
|
||||||
# Note that these can be set as functions/init if you need more fine-grained control
|
# Note that these can be set as functions/init if you need more fine-grained control.
|
||||||
form_is_checked = property(lambda self: self.domain_request.has_anything_else_text())
|
form_is_checked = property(lambda self: self.domain_request.has_anything_else_text()) # type: ignore
|
||||||
field_name = "has_anything_else_text"
|
field_name = "has_anything_else_text"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue