diff --git a/app/api/helpers/ticketing.py b/app/api/helpers/ticketing.py index 2253f50220..f7c78a4c30 100644 --- a/app/api/helpers/ticketing.py +++ b/app/api/helpers/ticketing.py @@ -16,7 +16,6 @@ ) from app.api.helpers.payment import PayPalPaymentsManager, StripePaymentsManager from app.models import db -from app.models.order import Order from app.models.ticket_fee import TicketFees from app.models.ticket_holder import TicketHolder diff --git a/app/instance.py b/app/instance.py index 56d8b6fb72..aca525cbea 100644 --- a/app/instance.py +++ b/app/instance.py @@ -17,7 +17,6 @@ from flask_rest_jsonapi.errors import jsonapi_errors from flask_rest_jsonapi.exceptions import JsonApiException from healthcheck import HealthCheck -from pytz import utc from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.flask import FlaskIntegration from sentry_sdk.integrations.redis import RedisIntegration @@ -30,12 +29,9 @@ from app.api.helpers.jwt import jwt_user_loader from app.extensions import limiter, shell from app.models import db -from app.models.event import Event -from app.models.role_invite import RoleInvite from app.models.utils import add_engine_pidguard, sqlite_datetime_fix from app.templates.flask_ext.jinja.filters import init_filters from app.views.blueprints import BlueprintsManager -from app.views.elastic_search import client from app.views.healthcheck import ( check_migrations, health_check_celery, diff --git a/app/models/helpers/versioning.py b/app/models/helpers/versioning.py index e2cfd12787..95eb1d69be 100644 --- a/app/models/helpers/versioning.py +++ b/app/models/helpers/versioning.py @@ -1,9 +1,6 @@ import re -import unicodedata -from itertools import zip_longest import bleach -import diff_match_patch from bleach.callbacks import nofollow, target_blank diff --git a/populate_db.py b/populate_db.py index 9b9f4c8039..38f2b2b17a 100644 --- a/populate_db.py +++ b/populate_db.py @@ -1,4 +1,3 @@ -from envparse import env from app.api.helpers.db import get_or_create