💚 use flake8 3.x syntax to ignore flake8 warnings
This commit is contained in:
parent
2f72151fed
commit
0ab0a1a50a
|
@ -1,12 +1,12 @@
|
|||
from lml.loader import scan_plugins
|
||||
from robotchef_api.plugin import (
|
||||
from robotchef_api.plugin import ( # noqa: F401
|
||||
CuisineManager,
|
||||
NoChefException,
|
||||
) # flake8: noqa
|
||||
)
|
||||
|
||||
|
||||
BUILTINS = ["robotchef_api.robot_cuisine"]
|
||||
|
||||
|
||||
scan_plugins("robotchef_", __path__, white_list=BUILTINS)
|
||||
scan_plugins("robotchef_", __path__, white_list=BUILTINS) # noqa: F821
|
||||
cuisine_manager = CuisineManager()
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
:license: New BSD License, see LICENSE for more details
|
||||
"""
|
||||
import logging
|
||||
from lml._version import __version__ # flake8: noqa
|
||||
from lml._version import __author__ # flake8: noqa
|
||||
from lml._version import __version__ # noqa: F401
|
||||
from lml._version import __author__ # noqa: F401
|
||||
|
||||
try:
|
||||
from logging import NullHandler
|
||||
|
|
Loading…
Reference in New Issue