Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Mar 27, 2020
1 parent 3a8ff13 commit c5d02f5
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion app/api/helpers/ticketing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 0 additions & 6 deletions app/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,19 @@
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
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
from werkzeug.middleware.profiler import ProfilerMiddleware

from app.api import routes
from app.api.helpers.auth import AuthManager, is_token_blacklisted
from app.api.helpers.cache import cache
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,
Expand Down
3 changes: 0 additions & 3 deletions app/models/helpers/versioning.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
1 change: 0 additions & 1 deletion populate_db.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from envparse import env

from app.api.helpers.db import get_or_create

Expand Down
3 changes: 0 additions & 3 deletions tests/hook_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
from flask import Flask
from app.models import db
from app.models.user import OWNER
from app.models.user_token_blacklist import (
UserTokenBlackListTime,
) # noqa Workaround for registering unimported model
from app.api import routes # noqa Workaround for importing all required models

# imports from factories
Expand Down

0 comments on commit c5d02f5

Please sign in to comment.