flake8: check F403 about import *

This commit is contained in:
Erik Sundell
2022-11-16 10:45:51 +01:00
parent 5ea93add28
commit eaa096152a
3 changed files with 4 additions and 5 deletions

View File

@@ -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,

View File

@@ -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):

View File

@@ -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):