From f0a2a43d51be5a6aafbd25dd223ab18a5f08b40f Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 23 Sep 2021 13:38:47 -0400 Subject: [PATCH] Remove unnecessary # noqa: F401 from __init__.py files --- monkey/infection_monkey/model/__init__.py | 2 +- monkey/infection_monkey/transport/__init__.py | 4 ++-- monkey/monkey_island/cc/models/__init__.py | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/monkey/infection_monkey/model/__init__.py b/monkey/infection_monkey/model/__init__.py index bee29885c..7c39075be 100644 --- a/monkey/infection_monkey/model/__init__.py +++ b/monkey/infection_monkey/model/__init__.py @@ -1,4 +1,4 @@ -from infection_monkey.model.host import VictimHost # noqa: F401 +from infection_monkey.model.host import VictimHost MONKEY_ARG = "m0nk3y" DROPPER_ARG = "dr0pp3r" diff --git a/monkey/infection_monkey/transport/__init__.py b/monkey/infection_monkey/transport/__init__.py index f9d56fe23..0dcbd56c6 100644 --- a/monkey/infection_monkey/transport/__init__.py +++ b/monkey/infection_monkey/transport/__init__.py @@ -1,2 +1,2 @@ -from infection_monkey.transport.http import HTTPServer # noqa: F401 -from infection_monkey.transport.http import LockedHTTPServer # noqa: F401 +from infection_monkey.transport.http import HTTPServer +from infection_monkey.transport.http import LockedHTTPServer diff --git a/monkey/monkey_island/cc/models/__init__.py b/monkey/monkey_island/cc/models/__init__.py index f99444210..005fa08b3 100644 --- a/monkey/monkey_island/cc/models/__init__.py +++ b/monkey/monkey_island/cc/models/__init__.py @@ -1,10 +1,10 @@ -from .command_control_channel import CommandControlChannel # noqa: F401, E402 +from .command_control_channel import CommandControlChannel # noqa: E402 # Order of importing matters here, for registering the embedded and referenced documents before # using them. -from .config import Config # noqa: F401, E402 -from .creds import Creds # noqa: F401, E402 -from .monkey import Monkey # noqa: F401, E402 -from .monkey_ttl import MonkeyTtl # noqa: F401, E402 -from .pba_results import PbaResults # noqa: F401, E402 -from .report import Report # noqa: F401, E402 +from .config import Config # noqa: E402 +from .creds import Creds # noqa: E402 +from .monkey import Monkey # noqa: E402 +from .monkey_ttl import MonkeyTtl # noqa: E402 +from .pba_results import PbaResults # noqa: E402 +from .report import Report # noqa: E402