address some flake8 errors
This commit is contained in:
parent
5b781c50a4
commit
e6bf085d12
|
@ -4,7 +4,6 @@ gevent_monkey.patch_all()
|
|||
|
||||
import json # noqa: E402
|
||||
|
||||
from monkey_island.cc.main import main # noqa: E402
|
||||
from monkey_island.cc.consts import (
|
||||
DEFAULT_SERVER_CONFIG_PATH,
|
||||
DEFAULT_LOGGER_CONFIG_PATH,
|
||||
|
@ -55,6 +54,6 @@ if "__main__" == __name__:
|
|||
print(f"Error loading logging config: {ex}")
|
||||
exit(1)
|
||||
|
||||
from monkey_island.cc.main import main
|
||||
from monkey_island.cc.main import main # noqa: E402
|
||||
|
||||
main(is_setup_only, server_config)
|
||||
|
|
|
@ -4,8 +4,9 @@ import os
|
|||
from monkey_island.cc.consts import MONKEY_ISLAND_ABS_PATH
|
||||
from monkey_island.cc.island_logger import json_setup_logging
|
||||
|
||||
TEST_LOGGER_CONFIG_PATH = os.path.join(MONKEY_ISLAND_ABS_PATH, "cc", "testing",
|
||||
"logger_config.json")
|
||||
TEST_LOGGER_CONFIG_PATH = os.path.join(
|
||||
MONKEY_ISLAND_ABS_PATH, "cc", "testing", "logger_config.json"
|
||||
)
|
||||
|
||||
|
||||
def set_home_env(monkeypatch, tmpdir):
|
||||
|
|
Loading…
Reference in New Issue