From 01406b3d2a219bb409b7bb3a5f80ac65c7bbd29e Mon Sep 17 00:00:00 2001 From: Indico Team Date: Tue, 10 Nov 2020 13:19:28 +0100 Subject: [PATCH] Fix empty lines after file headers --- _meta/setup.py | 1 - livesync/indico_livesync/__init__.py | 1 - livesync/indico_livesync/base.py | 1 - livesync/indico_livesync/blueprint.py | 1 - livesync/indico_livesync/cli.py | 1 - livesync/indico_livesync/controllers.py | 1 - livesync/indico_livesync/forms.py | 1 - livesync/indico_livesync/handler.py | 1 - livesync/indico_livesync/marcxml.py | 1 - livesync/indico_livesync/models/agents.py | 1 - livesync/indico_livesync/models/queue.py | 1 - livesync/indico_livesync/plugin.py | 1 - livesync/indico_livesync/simplify.py | 1 - livesync/indico_livesync/task.py | 1 - livesync/indico_livesync/uploader.py | 1 - livesync/indico_livesync/util.py | 1 - livesync/setup.py | 1 - livesync/tests/conftest.py | 1 - livesync_debug/indico_livesync_debug/backend.py | 1 - livesync_debug/indico_livesync_debug/plugin.py | 1 - livesync_debug/setup.py | 1 - payment_manual/indico_payment_manual/__init__.py | 1 - payment_manual/indico_payment_manual/placeholders.py | 1 - payment_manual/indico_payment_manual/plugin.py | 1 - payment_manual/setup.py | 1 - payment_paypal/indico_payment_paypal/__init__.py | 1 - payment_paypal/indico_payment_paypal/blueprint.py | 1 - payment_paypal/indico_payment_paypal/controllers.py | 1 - payment_paypal/indico_payment_paypal/plugin.py | 1 - payment_paypal/indico_payment_paypal/util.py | 1 - payment_paypal/setup.py | 1 - piwik/indico_piwik/__init__.py | 1 - piwik/indico_piwik/forms.py | 1 - piwik/indico_piwik/queries/metrics.py | 1 - piwik/setup.py | 1 - previewer_code/indico_previewer_code/plugin.py | 1 - previewer_code/setup.py | 1 - previewer_jupyter/indico_previewer_jupyter/plugin.py | 1 - previewer_jupyter/setup.py | 1 - storage_s3/indico_storage_s3/__init__.py | 1 - storage_s3/indico_storage_s3/blueprint.py | 1 - storage_s3/indico_storage_s3/controllers.py | 1 - storage_s3/indico_storage_s3/migrate.py | 1 - storage_s3/indico_storage_s3/plugin.py | 1 - storage_s3/indico_storage_s3/storage.py | 1 - storage_s3/indico_storage_s3/task.py | 1 - storage_s3/setup.py | 1 - storage_s3/tests/plugin_test.py | 1 - update-meta.py | 1 - ursh/indico_ursh/__init__.py | 1 - ursh/indico_ursh/blueprint.py | 1 - ursh/indico_ursh/controllers.py | 1 - ursh/indico_ursh/plugin.py | 1 - ursh/indico_ursh/util.py | 1 - ursh/indico_ursh/views.py | 1 - ursh/setup.py | 1 - vc_dummy/indico_vc_dummy/plugin.py | 1 - vc_dummy/setup.py | 1 - vc_vidyo/indico_vc_vidyo/__init__.py | 1 - vc_vidyo/indico_vc_vidyo/api/__init__.py | 1 - vc_vidyo/indico_vc_vidyo/blueprint.py | 1 - vc_vidyo/indico_vc_vidyo/cli.py | 1 - vc_vidyo/indico_vc_vidyo/controllers.py | 1 - vc_vidyo/indico_vc_vidyo/forms.py | 1 - vc_vidyo/indico_vc_vidyo/plugin.py | 1 - vc_vidyo/indico_vc_vidyo/task.py | 1 - vc_vidyo/indico_vc_vidyo/util.py | 1 - vc_vidyo/setup.py | 1 - 68 files changed, 68 deletions(-) diff --git a/_meta/setup.py b/_meta/setup.py index 67c5373..470a6f0 100644 --- a/_meta/setup.py +++ b/_meta/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import setup diff --git a/livesync/indico_livesync/__init__.py b/livesync/indico_livesync/__init__.py index 2895b17..cfe9e71 100644 --- a/livesync/indico_livesync/__init__.py +++ b/livesync/indico_livesync/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core import signals from indico.util.i18n import make_bound_gettext diff --git a/livesync/indico_livesync/base.py b/livesync/indico_livesync/base.py index e8fca16..bfc738b 100644 --- a/livesync/indico_livesync/base.py +++ b/livesync/indico_livesync/base.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask_pluginengine import depends, trim_docstring from indico.core.plugins import IndicoPlugin, PluginCategory diff --git a/livesync/indico_livesync/blueprint.py b/livesync/indico_livesync/blueprint.py index 598b284..8d5597f 100644 --- a/livesync/indico_livesync/blueprint.py +++ b/livesync/indico_livesync/blueprint.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import IndicoPluginBlueprint from indico_livesync.controllers import RHAddAgent, RHDeleteAgent, RHEditAgent diff --git a/livesync/indico_livesync/cli.py b/livesync/indico_livesync/cli.py index aaa6c31..ab1ef93 100644 --- a/livesync/indico_livesync/cli.py +++ b/livesync/indico_livesync/cli.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import click from flask_pluginengine import current_plugin from terminaltables import AsciiTable diff --git a/livesync/indico_livesync/controllers.py b/livesync/indico_livesync/controllers.py index c822c93..391aeb5 100644 --- a/livesync/indico_livesync/controllers.py +++ b/livesync/indico_livesync/controllers.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask import flash, redirect, request from flask_pluginengine import current_plugin, render_plugin_template from werkzeug.exceptions import NotFound diff --git a/livesync/indico_livesync/forms.py b/livesync/indico_livesync/forms.py index 5b9638f..9551e7d 100644 --- a/livesync/indico_livesync/forms.py +++ b/livesync/indico_livesync/forms.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from wtforms.fields.core import StringField from wtforms.validators import DataRequired diff --git a/livesync/indico_livesync/handler.py b/livesync/indico_livesync/handler.py index fc333d7..6d6a19f 100644 --- a/livesync/indico_livesync/handler.py +++ b/livesync/indico_livesync/handler.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from collections import defaultdict from flask import g diff --git a/livesync/indico_livesync/marcxml.py b/livesync/indico_livesync/marcxml.py index e481dda..4dcda1c 100644 --- a/livesync/indico_livesync/marcxml.py +++ b/livesync/indico_livesync/marcxml.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask_pluginengine import current_plugin from indico.legacy.common.output import outputGenerator diff --git a/livesync/indico_livesync/models/agents.py b/livesync/indico_livesync/models/agents.py index e947ac8..e7d599f 100644 --- a/livesync/indico_livesync/models/agents.py +++ b/livesync/indico_livesync/models/agents.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from sqlalchemy.dialects.postgresql import JSON from indico.core.db.sqlalchemy import UTCDateTime, db diff --git a/livesync/indico_livesync/models/queue.py b/livesync/indico_livesync/models/queue.py index a930a39..a334c2c 100644 --- a/livesync/indico_livesync/models/queue.py +++ b/livesync/indico_livesync/models/queue.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask import g from werkzeug.datastructures import ImmutableDict diff --git a/livesync/indico_livesync/plugin.py b/livesync/indico_livesync/plugin.py index 646988a..8183bdc 100644 --- a/livesync/indico_livesync/plugin.py +++ b/livesync/indico_livesync/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from wtforms.fields.html5 import IntegerField from wtforms.validators import NumberRange diff --git a/livesync/indico_livesync/simplify.py b/livesync/indico_livesync/simplify.py index 080b9f4..a2052a7 100644 --- a/livesync/indico_livesync/simplify.py +++ b/livesync/indico_livesync/simplify.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import itertools from collections import defaultdict diff --git a/livesync/indico_livesync/task.py b/livesync/indico_livesync/task.py index 8c91b92..16b6ea4 100644 --- a/livesync/indico_livesync/task.py +++ b/livesync/indico_livesync/task.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from celery.schedules import crontab from indico.core.celery import celery diff --git a/livesync/indico_livesync/uploader.py b/livesync/indico_livesync/uploader.py index cdbdeee..8bdd8c3 100644 --- a/livesync/indico_livesync/uploader.py +++ b/livesync/indico_livesync/uploader.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.db import db from indico.util.struct.iterables import grouper diff --git a/livesync/indico_livesync/util.py b/livesync/indico_livesync/util.py index 3f2ddbf..8fc1f93 100644 --- a/livesync/indico_livesync/util.py +++ b/livesync/indico_livesync/util.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from datetime import timedelta from werkzeug.datastructures import ImmutableDict diff --git a/livesync/setup.py b/livesync/setup.py index 597c946..53a1d66 100644 --- a/livesync/setup.py +++ b/livesync/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/livesync/tests/conftest.py b/livesync/tests/conftest.py index d6a4853..3412031 100644 --- a/livesync/tests/conftest.py +++ b/livesync/tests/conftest.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import pytest from indico_livesync.models.agents import LiveSyncAgent diff --git a/livesync_debug/indico_livesync_debug/backend.py b/livesync_debug/indico_livesync_debug/backend.py index 0f7d154..b61309b 100644 --- a/livesync_debug/indico_livesync_debug/backend.py +++ b/livesync_debug/indico_livesync_debug/backend.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.util.console import cformat from indico.util.struct.iterables import grouper diff --git a/livesync_debug/indico_livesync_debug/plugin.py b/livesync_debug/indico_livesync_debug/plugin.py index bc17d12..9e4737a 100644 --- a/livesync_debug/indico_livesync_debug/plugin.py +++ b/livesync_debug/indico_livesync_debug/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico_livesync import LiveSyncPluginBase from indico_livesync_debug.backend import LiveSyncDebugBackend diff --git a/livesync_debug/setup.py b/livesync_debug/setup.py index c020751..95310fe 100644 --- a/livesync_debug/setup.py +++ b/livesync_debug/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/payment_manual/indico_payment_manual/__init__.py b/payment_manual/indico_payment_manual/__init__.py index 40dfbcd..7a6a154 100644 --- a/payment_manual/indico_payment_manual/__init__.py +++ b/payment_manual/indico_payment_manual/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.util.i18n import make_bound_gettext diff --git a/payment_manual/indico_payment_manual/placeholders.py b/payment_manual/indico_payment_manual/placeholders.py index 8faa7b4..7b177c3 100644 --- a/payment_manual/indico_payment_manual/placeholders.py +++ b/payment_manual/indico_payment_manual/placeholders.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from decimal import Decimal from urllib.parse import quote_plus diff --git a/payment_manual/indico_payment_manual/plugin.py b/payment_manual/indico_payment_manual/plugin.py index cf65e3e..b24c0e7 100644 --- a/payment_manual/indico_payment_manual/plugin.py +++ b/payment_manual/indico_payment_manual/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from wtforms.fields.simple import TextAreaField from wtforms.validators import DataRequired diff --git a/payment_manual/setup.py b/payment_manual/setup.py index a6e74fd..93974dd 100644 --- a/payment_manual/setup.py +++ b/payment_manual/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/payment_paypal/indico_payment_paypal/__init__.py b/payment_paypal/indico_payment_paypal/__init__.py index df3349a..5326abe 100644 --- a/payment_paypal/indico_payment_paypal/__init__.py +++ b/payment_paypal/indico_payment_paypal/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.util.i18n import make_bound_gettext diff --git a/payment_paypal/indico_payment_paypal/blueprint.py b/payment_paypal/indico_payment_paypal/blueprint.py index 05f2bcf..7228820 100644 --- a/payment_paypal/indico_payment_paypal/blueprint.py +++ b/payment_paypal/indico_payment_paypal/blueprint.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import IndicoPluginBlueprint from indico_payment_paypal.controllers import RHPaypalCancel, RHPaypalIPN, RHPaypalSuccess diff --git a/payment_paypal/indico_payment_paypal/controllers.py b/payment_paypal/indico_payment_paypal/controllers.py index 1d124bc..364d87a 100644 --- a/payment_paypal/indico_payment_paypal/controllers.py +++ b/payment_paypal/indico_payment_paypal/controllers.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from itertools import chain import requests diff --git a/payment_paypal/indico_payment_paypal/plugin.py b/payment_paypal/indico_payment_paypal/plugin.py index 2b5e3e4..0fd7a4c 100644 --- a/payment_paypal/indico_payment_paypal/plugin.py +++ b/payment_paypal/indico_payment_paypal/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask_pluginengine import render_plugin_template from wtforms.fields.core import StringField from wtforms.fields.html5 import URLField diff --git a/payment_paypal/indico_payment_paypal/util.py b/payment_paypal/indico_payment_paypal/util.py index 7c2cd2d..29887f1 100644 --- a/payment_paypal/indico_payment_paypal/util.py +++ b/payment_paypal/indico_payment_paypal/util.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import re from wtforms import ValidationError diff --git a/payment_paypal/setup.py b/payment_paypal/setup.py index bae50e4..16c4a50 100644 --- a/payment_paypal/setup.py +++ b/payment_paypal/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/piwik/indico_piwik/__init__.py b/piwik/indico_piwik/__init__.py index 8447fb5..31bd92c 100644 --- a/piwik/indico_piwik/__init__.py +++ b/piwik/indico_piwik/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.util.i18n import make_bound_gettext diff --git a/piwik/indico_piwik/forms.py b/piwik/indico_piwik/forms.py index 355e533..c57bb70 100644 --- a/piwik/indico_piwik/forms.py +++ b/piwik/indico_piwik/forms.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from wtforms import BooleanField, IntegerField, StringField from wtforms.validators import ValidationError diff --git a/piwik/indico_piwik/queries/metrics.py b/piwik/indico_piwik/queries/metrics.py index 75cce99..2492e7d 100644 --- a/piwik/indico_piwik/queries/metrics.py +++ b/piwik/indico_piwik/queries/metrics.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from operator import itemgetter from urllib.parse import quote diff --git a/piwik/setup.py b/piwik/setup.py index b61c925..6bfe0bb 100644 --- a/piwik/setup.py +++ b/piwik/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/previewer_code/indico_previewer_code/plugin.py b/previewer_code/indico_previewer_code/plugin.py index 595b212..8e2b870 100644 --- a/previewer_code/indico_previewer_code/plugin.py +++ b/previewer_code/indico_previewer_code/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import mimetypes from flask import render_template diff --git a/previewer_code/setup.py b/previewer_code/setup.py index 997f689..6ca29d6 100644 --- a/previewer_code/setup.py +++ b/previewer_code/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/previewer_jupyter/indico_previewer_jupyter/plugin.py b/previewer_jupyter/indico_previewer_jupyter/plugin.py index 0700216..012e020 100644 --- a/previewer_jupyter/indico_previewer_jupyter/plugin.py +++ b/previewer_jupyter/indico_previewer_jupyter/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import mimetypes import re diff --git a/previewer_jupyter/setup.py b/previewer_jupyter/setup.py index b769169..d03c325 100644 --- a/previewer_jupyter/setup.py +++ b/previewer_jupyter/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/storage_s3/indico_storage_s3/__init__.py b/storage_s3/indico_storage_s3/__init__.py index aaf64d8..a351ad3 100644 --- a/storage_s3/indico_storage_s3/__init__.py +++ b/storage_s3/indico_storage_s3/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core import signals from indico.util.i18n import make_bound_gettext diff --git a/storage_s3/indico_storage_s3/blueprint.py b/storage_s3/indico_storage_s3/blueprint.py index 1bc7876..0960abd 100644 --- a/storage_s3/indico_storage_s3/blueprint.py +++ b/storage_s3/indico_storage_s3/blueprint.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import IndicoPluginBlueprint from indico_storage_s3.controllers import RHBuckets diff --git a/storage_s3/indico_storage_s3/controllers.py b/storage_s3/indico_storage_s3/controllers.py index f0e9a72..d91e5a6 100644 --- a/storage_s3/indico_storage_s3/controllers.py +++ b/storage_s3/indico_storage_s3/controllers.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask import current_app, jsonify, request from werkzeug.exceptions import NotFound, Unauthorized diff --git a/storage_s3/indico_storage_s3/migrate.py b/storage_s3/indico_storage_s3/migrate.py index 2170e94..cdcbd90 100644 --- a/storage_s3/indico_storage_s3/migrate.py +++ b/storage_s3/indico_storage_s3/migrate.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import errno import json import os diff --git a/storage_s3/indico_storage_s3/plugin.py b/storage_s3/indico_storage_s3/plugin.py index f61a376..fd94018 100644 --- a/storage_s3/indico_storage_s3/plugin.py +++ b/storage_s3/indico_storage_s3/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import sys import click diff --git a/storage_s3/indico_storage_s3/storage.py b/storage_s3/indico_storage_s3/storage.py index b114145..3ec2946 100644 --- a/storage_s3/indico_storage_s3/storage.py +++ b/storage_s3/indico_storage_s3/storage.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import hashlib import hmac import sys diff --git a/storage_s3/indico_storage_s3/task.py b/storage_s3/indico_storage_s3/task.py index 0955815..ba96b39 100644 --- a/storage_s3/indico_storage_s3/task.py +++ b/storage_s3/indico_storage_s3/task.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import re from datetime import date diff --git a/storage_s3/setup.py b/storage_s3/setup.py index a0cb8d8..2ea7eef 100644 --- a/storage_s3/setup.py +++ b/storage_s3/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/storage_s3/tests/plugin_test.py b/storage_s3/tests/plugin_test.py index a22f058..9b06427 100644 --- a/storage_s3/tests/plugin_test.py +++ b/storage_s3/tests/plugin_test.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import hashlib import hmac diff --git a/update-meta.py b/update-meta.py index d02c1e1..8e160a8 100644 --- a/update-meta.py +++ b/update-meta.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import errno import os import re diff --git a/ursh/indico_ursh/__init__.py b/ursh/indico_ursh/__init__.py index 043cd78..7253397 100644 --- a/ursh/indico_ursh/__init__.py +++ b/ursh/indico_ursh/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.util.i18n import make_bound_gettext diff --git a/ursh/indico_ursh/blueprint.py b/ursh/indico_ursh/blueprint.py index 793c00c..05d203a 100644 --- a/ursh/indico_ursh/blueprint.py +++ b/ursh/indico_ursh/blueprint.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import IndicoPluginBlueprint from indico_ursh.controllers import RHCustomShortURLPage, RHGetShortURL, RHShortURLPage diff --git a/ursh/indico_ursh/controllers.py b/ursh/indico_ursh/controllers.py index 5a331fb..0f0528a 100644 --- a/ursh/indico_ursh/controllers.py +++ b/ursh/indico_ursh/controllers.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import posixpath from flask import jsonify, request, session diff --git a/ursh/indico_ursh/plugin.py b/ursh/indico_ursh/plugin.py index 2c18d5b..3616ffd 100644 --- a/ursh/indico_ursh/plugin.py +++ b/ursh/indico_ursh/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask_pluginengine import render_plugin_template from wtforms.fields.core import StringField from wtforms.fields.html5 import URLField diff --git a/ursh/indico_ursh/util.py b/ursh/indico_ursh/util.py index df0952c..4013a0c 100644 --- a/ursh/indico_ursh/util.py +++ b/ursh/indico_ursh/util.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import json import posixpath diff --git a/ursh/indico_ursh/views.py b/ursh/indico_ursh/views.py index efedffc..4c305c4 100644 --- a/ursh/indico_ursh/views.py +++ b/ursh/indico_ursh/views.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import WPJinjaMixinPlugin from indico.web.views import WPDecorated diff --git a/ursh/setup.py b/ursh/setup.py index 8c46c91..a5f9001 100644 --- a/ursh/setup.py +++ b/ursh/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/vc_dummy/indico_vc_dummy/plugin.py b/vc_dummy/indico_vc_dummy/plugin.py index 6a8542d..f03b78c 100644 --- a/vc_dummy/indico_vc_dummy/plugin.py +++ b/vc_dummy/indico_vc_dummy/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from sqlalchemy.orm.attributes import flag_modified from wtforms.fields.core import BooleanField diff --git a/vc_dummy/setup.py b/vc_dummy/setup.py index 8d50fc6..550f486 100644 --- a/vc_dummy/setup.py +++ b/vc_dummy/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup diff --git a/vc_vidyo/indico_vc_vidyo/__init__.py b/vc_vidyo/indico_vc_vidyo/__init__.py index 876fdd8..133d253 100644 --- a/vc_vidyo/indico_vc_vidyo/__init__.py +++ b/vc_vidyo/indico_vc_vidyo/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core import signals from indico.util.i18n import make_bound_gettext diff --git a/vc_vidyo/indico_vc_vidyo/api/__init__.py b/vc_vidyo/indico_vc_vidyo/api/__init__.py index 4020bee..a2a668a 100644 --- a/vc_vidyo/indico_vc_vidyo/api/__init__.py +++ b/vc_vidyo/indico_vc_vidyo/api/__init__.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from .client import AdminClient, APIException, RoomNotFoundAPIException, UserClient diff --git a/vc_vidyo/indico_vc_vidyo/blueprint.py b/vc_vidyo/indico_vc_vidyo/blueprint.py index ed7b891..54452cf 100644 --- a/vc_vidyo/indico_vc_vidyo/blueprint.py +++ b/vc_vidyo/indico_vc_vidyo/blueprint.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from indico.core.plugins import IndicoPluginBlueprint from indico_vc_vidyo.controllers import RHVidyoRoomOwner diff --git a/vc_vidyo/indico_vc_vidyo/cli.py b/vc_vidyo/indico_vc_vidyo/cli.py index d99541c..505e719 100644 --- a/vc_vidyo/indico_vc_vidyo/cli.py +++ b/vc_vidyo/indico_vc_vidyo/cli.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import click from terminaltables import AsciiTable diff --git a/vc_vidyo/indico_vc_vidyo/controllers.py b/vc_vidyo/indico_vc_vidyo/controllers.py index 0ef8ae1..316eddf 100644 --- a/vc_vidyo/indico_vc_vidyo/controllers.py +++ b/vc_vidyo/indico_vc_vidyo/controllers.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask import flash, jsonify, session from indico.core.db import db diff --git a/vc_vidyo/indico_vc_vidyo/forms.py b/vc_vidyo/indico_vc_vidyo/forms.py index bc9e391..9c25345 100644 --- a/vc_vidyo/indico_vc_vidyo/forms.py +++ b/vc_vidyo/indico_vc_vidyo/forms.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from wtforms.fields.core import BooleanField from wtforms.fields.simple import TextAreaField from wtforms.validators import DataRequired, Length, Optional, Regexp, ValidationError diff --git a/vc_vidyo/indico_vc_vidyo/plugin.py b/vc_vidyo/indico_vc_vidyo/plugin.py index 36b6224..5a8cf9c 100644 --- a/vc_vidyo/indico_vc_vidyo/plugin.py +++ b/vc_vidyo/indico_vc_vidyo/plugin.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from flask import session from sqlalchemy.orm.attributes import flag_modified from wtforms.fields import IntegerField, TextAreaField diff --git a/vc_vidyo/indico_vc_vidyo/task.py b/vc_vidyo/indico_vc_vidyo/task.py index 71f0469..fd743fa 100644 --- a/vc_vidyo/indico_vc_vidyo/task.py +++ b/vc_vidyo/indico_vc_vidyo/task.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from datetime import timedelta from celery.schedules import crontab diff --git a/vc_vidyo/indico_vc_vidyo/util.py b/vc_vidyo/indico_vc_vidyo/util.py index 2954fc8..b404444 100644 --- a/vc_vidyo/indico_vc_vidyo/util.py +++ b/vc_vidyo/indico_vc_vidyo/util.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - import re from flask_multipass import IdentityRetrievalFailed diff --git a/vc_vidyo/setup.py b/vc_vidyo/setup.py index 602d167..c78d1b2 100644 --- a/vc_vidyo/setup.py +++ b/vc_vidyo/setup.py @@ -5,7 +5,6 @@ # them and/or modify them under the terms of the MIT License; # see the LICENSE file for more details. - from setuptools import find_packages, setup