mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 01:54:09 +00:00
flake8: check F408 about unused imports, manual fixes only
This commit is contained in:
3
.flake8
3
.flake8
@@ -4,9 +4,8 @@
|
||||
# W: style warnings
|
||||
# C: complexity
|
||||
# D: docstring warnings (unused pydocstyle extension)
|
||||
# F401: module imported but unused
|
||||
# F841: local variable assigned but never used
|
||||
ignore = E, C, W, D, F401, F841
|
||||
ignore = E, C, W, D, F841
|
||||
builtins = c, get_config
|
||||
exclude =
|
||||
.cache,
|
||||
|
@@ -250,7 +250,7 @@ if on_rtd:
|
||||
# -- Spell checking -------------------------------------------------------
|
||||
|
||||
try:
|
||||
import sphinxcontrib.spelling
|
||||
import sphinxcontrib.spelling # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
|
@@ -1 +1 @@
|
||||
from .app import app
|
||||
from .app import app # noqa
|
||||
|
@@ -1 +1 @@
|
||||
from ._version import __version__, version_info
|
||||
from ._version import __version__, version_info # noqa
|
||||
|
@@ -14,7 +14,6 @@ depends_on = None
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
|
||||
def upgrade():
|
||||
pass
|
||||
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
Contains default notebook-app subclass and mixins
|
||||
"""
|
||||
from .app import SingleUserNotebookApp, main
|
||||
from .mixins import HubAuthenticatedHandler, make_singleuser_app
|
||||
from .app import SingleUserNotebookApp, main # noqa
|
||||
from .mixins import HubAuthenticatedHandler, make_singleuser_app # noqa
|
||||
|
||||
# backward-compatibility
|
||||
JupyterHubLoginHandler = SingleUserNotebookApp.login_handler_class
|
||||
|
Reference in New Issue
Block a user