Skip to content

Commit

Permalink
Ignore E402 errors
Browse files Browse the repository at this point in the history
Module level import not at top of file
  • Loading branch information
pgiraud committed Aug 12, 2024
1 parent a6682ee commit 5ab0d21
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions powa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"""
Powa main application.
"""
import os
import re
import os # noqa: E402
import re # noqa: E402

__VERSION__ = '5.0.0dev'

Expand All @@ -12,26 +12,26 @@

POWA_ROOT = os.path.dirname(__file__)

from tornado.web import Application, URLSpec as U
from powa.options import parse_options
from tornado.options import options
from powa import ui_modules, ui_methods
from powa.framework import AuthHandler
from powa.user import LoginHandler, LogoutHandler
from powa.overview import Overview
from powa.server import ServerSelector, ServerOverview
from powa.database import DatabaseSelector, DatabaseOverview
from powa.query import QueryOverview
from powa.qual import QualOverview
from powa.function import FunctionOverview
from powa.config import RepositoryConfigOverview, RemoteConfigOverview
from powa.collector import (CollectorReloadHandler,
CollectorForceSnapshotHandler,
CollectorDbCatRefreshHandler)
from powa.wizard import IndexSuggestionHandler
from powa.io import (ByBackendTypeIoOverview, ByObjIoOverview,
ByContextIoOverview)
from powa.slru import ByNameSlruOverview
from tornado.web import Application, URLSpec as U # noqa: E402
from powa.options import parse_options # noqa: E402
from tornado.options import options # noqa: E402
from powa import ui_modules, ui_methods # noqa: E402
from powa.framework import AuthHandler # noqa: E402
from powa.user import LoginHandler, LogoutHandler # noqa: E402
from powa.overview import Overview # noqa: E402
from powa.server import ServerSelector, ServerOverview # noqa: E402
from powa.database import DatabaseSelector, DatabaseOverview # noqa: E402
from powa.query import QueryOverview # noqa: E402
from powa.qual import QualOverview # noqa: E402
from powa.function import FunctionOverview # noqa: E402
from powa.config import RepositoryConfigOverview, RemoteConfigOverview # noqa: E402
from powa.collector import (CollectorReloadHandler, # noqa: E402
CollectorForceSnapshotHandler, # noqa: E402
CollectorDbCatRefreshHandler) # noqa: E402
from powa.wizard import IndexSuggestionHandler # noqa: E402
from powa.io import (ByBackendTypeIoOverview, ByObjIoOverview, # noqa: E402
ByContextIoOverview) # noqa: E402
from powa.slru import ByNameSlruOverview # noqa: E402


class IndexHandler(AuthHandler):
Expand Down

0 comments on commit 5ab0d21

Please sign in to comment.