From 16546b4d3c611ca569f4e7e18db8bb7e74f882d7 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 16 Nov 2021 11:12:42 +0100 Subject: [PATCH] Improved imports --- src/gismo/startup.py | 6 ++---- src/modules/boot_log/boot_log.py | 5 ++--- src/modules/boot_log/boot_log_extension.py | 8 +++----- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/gismo/startup.py b/src/gismo/startup.py index bfe0155..4e8120e 100644 --- a/src/gismo/startup.py +++ b/src/gismo/startup.py @@ -1,8 +1,6 @@ from cpl_core.application import StartupABC -from cpl_core.configuration import ConfigurationABC, ConsoleArgument -from cpl_core.console.console import Console -from cpl_core.dependency_injection import (ServiceCollectionABC, - ServiceProviderABC) +from cpl_core.configuration import ConfigurationABC +from cpl_core.dependency_injection import ServiceCollectionABC, ServiceProviderABC from cpl_core.environment import ApplicationEnvironment from gismo_core.abc.bot_service_abc import BotServiceABC diff --git a/src/modules/boot_log/boot_log.py b/src/modules/boot_log/boot_log.py index 1a20b15..a28dad1 100644 --- a/src/modules/boot_log/boot_log.py +++ b/src/modules/boot_log/boot_log.py @@ -1,9 +1,8 @@ from datetime import datetime -from cpl_core.configuration.configuration_abc import ConfigurationABC +from cpl_core.configuration import ConfigurationABC from cpl_core.console import Console -from cpl_core.logging import LoggerABC, LoggingLevelEnum -from cpl_core.logging.logging_settings import LoggingSettings +from cpl_core.logging import LoggerABC, LoggingLevelEnum, LoggingSettings from gismo_core.abc.bot_service_abc import BotServiceABC from modules_core.abc.module_abc import ModuleABC diff --git a/src/modules/boot_log/boot_log_extension.py b/src/modules/boot_log/boot_log_extension.py index 8bd8e36..c651cbf 100644 --- a/src/modules/boot_log/boot_log_extension.py +++ b/src/modules/boot_log/boot_log_extension.py @@ -1,10 +1,8 @@ from datetime import datetime -from cpl_core.application.application_extension_abc import \ - ApplicationExtensionABC -from cpl_core.configuration.configuration_abc import ConfigurationABC -from cpl_core.dependency_injection.service_provider_abc import \ - ServiceProviderABC +from cpl_core.application.application_extension_abc import ApplicationExtensionABC +from cpl_core.configuration import ConfigurationABC +from cpl_core.dependency_injection import ServiceProviderABC from cpl_core.logging import LoggerABC