flake8
This commit is contained in:
parent
2524c8ab98
commit
c132e3fbbc
1
cron.py
1
cron.py
|
@ -59,7 +59,6 @@ from app.models import (
|
||||||
HibpNotifiedAlias,
|
HibpNotifiedAlias,
|
||||||
)
|
)
|
||||||
from app.utils import sanitize_email
|
from app.utils import sanitize_email
|
||||||
from server import create_app
|
|
||||||
|
|
||||||
|
|
||||||
def notify_trial_end():
|
def notify_trial_end():
|
||||||
|
|
|
@ -140,7 +140,7 @@ from app.models import (
|
||||||
from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data
|
from app.pgp_utils import PGPException, sign_data_with_pgpy, sign_data
|
||||||
from app.utils import sanitize_email
|
from app.utils import sanitize_email
|
||||||
from init_app import load_pgp_public_keys
|
from init_app import load_pgp_public_keys
|
||||||
from server import create_app, create_light_app
|
from server import create_light_app
|
||||||
|
|
||||||
newrelic_app = None
|
newrelic_app = None
|
||||||
if NEWRELIC_CONFIG_PATH:
|
if NEWRELIC_CONFIG_PATH:
|
||||||
|
|
|
@ -3,7 +3,6 @@ from app.db import Session
|
||||||
from app.log import LOG
|
from app.log import LOG
|
||||||
from app.models import Mailbox, Contact, SLDomain
|
from app.models import Mailbox, Contact, SLDomain
|
||||||
from app.pgp_utils import load_public_key
|
from app.pgp_utils import load_public_key
|
||||||
from server import create_app
|
|
||||||
|
|
||||||
|
|
||||||
def load_pgp_public_keys():
|
def load_pgp_public_keys():
|
||||||
|
|
|
@ -5,7 +5,6 @@ from app.config import HOST
|
||||||
from app.db import Session
|
from app.db import Session
|
||||||
from app.log import LOG
|
from app.log import LOG
|
||||||
from app.models import Monitoring
|
from app.models import Monitoring
|
||||||
from server import create_app
|
|
||||||
|
|
||||||
# the number of consecutive fails
|
# the number of consecutive fails
|
||||||
# if more than _max_nb_fails, alert
|
# if more than _max_nb_fails, alert
|
||||||
|
|
Loading…
Reference in a new issue