mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 22:44:47 +02:00
Fix linting errors
This commit is contained in:
parent
98e8cc8f64
commit
d50c177eb5
2 changed files with 3 additions and 6 deletions
|
@ -4,8 +4,6 @@ from __future__ import annotations # allows forward references in annotations
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from typing import Union
|
|
||||||
|
|
||||||
from django import forms
|
from django import forms
|
||||||
from django.shortcuts import render
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
@ -9,9 +8,10 @@ from .contact import Contact
|
||||||
from .user import User
|
from .user import User
|
||||||
from .website import Website
|
from .website import Website
|
||||||
|
|
||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING, Union
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from ..forms.application_wizard import ApplicationWizard
|
from ..forms.application_wizard import ApplicationWizard
|
||||||
|
|
||||||
|
|
||||||
class DomainApplication(TimeStampedModel):
|
class DomainApplication(TimeStampedModel):
|
||||||
|
@ -265,4 +265,3 @@ class DomainApplication(TimeStampedModel):
|
||||||
if type_answer and type_answer not in ("Federal", "Interstate"):
|
if type_answer and type_answer not in ("Federal", "Interstate"):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue