💚 use flake8 3.x syntax to ignore flake8 warnings

This commit is contained in:
chfw 2018-11-06 18:07:27 +00:00
parent 2f72151fed
commit 0ab0a1a50a
2 changed files with 5 additions and 5 deletions

View File

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

View File

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