Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove unused imports #6896

Merged
merged 3 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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