flake8 - remove unused imports and ensure they're always at the top of the file

This commit is contained in:
Leo Hemsted
2017-11-28 10:35:16 +00:00
parent 043dee5a54
commit 28d5f9b87f
22 changed files with 27 additions and 57 deletions

View File

@@ -16,13 +16,12 @@ from app.dao.templates_dao import (
from app.schemas import notification_with_template_schema
from app.utils import cache_key_for_service_template_counter
from app.errors import register_errors, InvalidRequest
template_statistics = Blueprint('template-statistics',
__name__,
url_prefix='/service/<service_id>/template-statistics')
from app.errors import register_errors, InvalidRequest
register_errors(template_statistics)