mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
flake8: check F403 about import *
This commit is contained in:
3
.flake8
3
.flake8
@@ -5,10 +5,9 @@
|
||||
# C: complexity
|
||||
# D: docstring warnings (unused pydocstyle extension)
|
||||
# F401: module imported but unused
|
||||
# F403: import *
|
||||
# F811: redefinition of unused `name` from line `N`
|
||||
# F841: local variable assigned but never used
|
||||
ignore = E, C, W, D, F401, F403, F811, F841
|
||||
ignore = E, C, W, D, F401, F811, F841
|
||||
builtins = c, get_config
|
||||
exclude =
|
||||
.cache,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
from . import auth, groups, hub, proxy, services, users
|
||||
from .base import *
|
||||
from .base import * # noqa
|
||||
|
||||
default_handlers = []
|
||||
for mod in (auth, hub, proxy, users, groups, services):
|
||||
|
@@ -1,6 +1,6 @@
|
||||
from . import base, login, metrics, pages
|
||||
from .base import *
|
||||
from .login import *
|
||||
from .base import * # noqa
|
||||
from .login import * # noqa
|
||||
|
||||
default_handlers = []
|
||||
for mod in (base, pages, login, metrics):
|
||||
|
Reference in New Issue
Block a user