From 115cb05031f690c1944f8100c4d8be9694ae46ee Mon Sep 17 00:00:00 2001 From: Ace Pace Date: Wed, 6 May 2020 00:04:54 +0300 Subject: [PATCH] Remove flake8 warnings on import not in start of module. Possible alternative is using __all__ but that may come with change in functionality. --- monkey/monkey_island/cc/models/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/monkey/monkey_island/cc/models/__init__.py b/monkey/monkey_island/cc/models/__init__.py index 94d56d6a8..0a83c00b9 100644 --- a/monkey/monkey_island/cc/models/__init__.py +++ b/monkey/monkey_island/cc/models/__init__.py @@ -12,9 +12,9 @@ else: connect(db=env.mongo_db_name, host=env.mongo_db_host, port=env.mongo_db_port) # Order of importing matters here, for registering the embedded and referenced documents before using them. -from .config import Config -from .creds import Creds -from .monkey_ttl import MonkeyTtl -from .pba_results import PbaResults -from .command_control_channel import CommandControlChannel -from .monkey import Monkey +from .config import Config # noqa: F401 +from .creds import Creds # noqa: F401 +from .monkey_ttl import MonkeyTtl # noqa: F401 +from .pba_results import PbaResults # noqa: F401 +from .command_control_channel import CommandControlChannel # noqa: F401 +from .monkey import Monkey # noqa: F401