The final lint

This commit is contained in:
zandercymatics 2023-10-02 12:58:50 -06:00
parent 4b493112ed
commit 4ca753f9a9
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1005,7 +1005,7 @@ class Domain(TimeStampedModel, DomainHelper):
logger.info("pendingCreate()-> inside pending create") logger.info("pendingCreate()-> inside pending create")
self._delete_domain() self._delete_domain()
# TODO - delete ticket any additional error handling here # TODO - delete ticket any additional error handling here
@transition( @transition(
field="state", field="state",
source=[State.DNS_NEEDED], source=[State.DNS_NEEDED],
@ -1025,7 +1025,7 @@ class Domain(TimeStampedModel, DomainHelper):
if len(nameserverList) < 2 or len(nameserverList) > 13: if len(nameserverList) < 2 or len(nameserverList) > 13:
raise ValueError("Not ready to become created, cannot transition yet") raise ValueError("Not ready to become created, cannot transition yet")
logger.info("able to transition to ready state") logger.info("able to transition to ready state")
def _disclose_fields(self, contact: PublicContact): def _disclose_fields(self, contact: PublicContact):
"""creates a disclose object that can be added to a contact Create using """creates a disclose object that can be added to a contact Create using
.disclose= <this function> on the command before sending. .disclose= <this function> on the command before sending.
@ -1149,7 +1149,7 @@ class Domain(TimeStampedModel, DomainHelper):
) )
raise e raise e
def _fetch_hosts(self, host_data): def _fetch_hosts(self, host_data):
"""Fetch host info.""" """Fetch host info."""
hosts = [] hosts = []