mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
flake8
This commit is contained in:
parent
58b0c91db5
commit
1492f29a1a
5
cron.py
5
cron.py
|
@ -1,17 +1,14 @@
|
|||
import argparse
|
||||
from dataclasses import dataclass
|
||||
from time import sleep
|
||||
from typing import List, Tuple
|
||||
|
||||
import arrow
|
||||
from arrow import Arrow
|
||||
from sqlalchemy import func, desc
|
||||
|
||||
from app import s3
|
||||
from app.alias_utils import nb_email_log_for_mailbox
|
||||
from app.api.views.apple import verify_receipt
|
||||
from app.config import (
|
||||
IGNORED_EMAILS,
|
||||
ADMIN_EMAIL,
|
||||
MACAPP_APPLE_API_SECRET,
|
||||
APPLE_API_SECRET,
|
||||
|
@ -29,7 +26,6 @@ from app.email_utils import (
|
|||
normalize_reply_email,
|
||||
is_valid_email,
|
||||
)
|
||||
from app.utils import sanitize_email
|
||||
from app.extensions import db
|
||||
from app.log import LOG
|
||||
from app.models import (
|
||||
|
@ -51,6 +47,7 @@ from app.models import (
|
|||
Bounce,
|
||||
Metric2,
|
||||
)
|
||||
from app.utils import sanitize_email
|
||||
from server import create_app
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue