mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
ruff
This commit is contained in:
@@ -14,8 +14,10 @@ from openbb_terminal.featflags_controller import FeatureFlagsController
|
||||
from openbb_terminal.menu import session
|
||||
from openbb_terminal.parent_classes import BaseController
|
||||
from openbb_terminal.rich_config import MenuText, console
|
||||
from openbb_terminal.session import hub_model as Hub
|
||||
from openbb_terminal.session import local_model as Local
|
||||
from openbb_terminal.session import (
|
||||
hub_model as Hub,
|
||||
local_model as Local,
|
||||
)
|
||||
from openbb_terminal.session.user import User
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict
|
||||
|
||||
from openbb_terminal import config_plot as cfg_plot
|
||||
from openbb_terminal import config_terminal as cfg
|
||||
from openbb_terminal import feature_flags as obbff
|
||||
from openbb_terminal import (
|
||||
config_plot as cfg_plot,
|
||||
config_terminal as cfg,
|
||||
feature_flags as obbff,
|
||||
)
|
||||
from openbb_terminal.base_helpers import strtobool
|
||||
from openbb_terminal.core.config import paths
|
||||
from openbb_terminal.rich_config import console
|
||||
|
||||
@@ -44,7 +44,6 @@ from openbb_terminal import (
|
||||
config_terminal as cfg,
|
||||
feature_flags as obbff,
|
||||
)
|
||||
from openbb_terminal.core.config import paths
|
||||
from openbb_terminal.core.config.paths import (
|
||||
HOME_DIRECTORY,
|
||||
USER_EXPORTS_DIRECTORY,
|
||||
|
||||
@@ -14,7 +14,6 @@ from openbb_terminal import (
|
||||
keys_model,
|
||||
keys_view,
|
||||
)
|
||||
from openbb_terminal.core.config.paths import USER_ENV_FILE
|
||||
from openbb_terminal.custom_prompt_toolkit import NestedCompleter
|
||||
from openbb_terminal.decorators import log_start_end
|
||||
from openbb_terminal.helper_funcs import EXPORT_ONLY_RAW_DATA_ALLOWED
|
||||
|
||||
@@ -3,9 +3,11 @@ import os
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
from openbb_terminal import config_plot as cfg_plot
|
||||
from openbb_terminal import config_terminal as cfg
|
||||
from openbb_terminal import feature_flags as obbff
|
||||
from openbb_terminal import (
|
||||
config_plot as cfg_plot,
|
||||
config_terminal as cfg,
|
||||
feature_flags as obbff,
|
||||
)
|
||||
from openbb_terminal.base_helpers import strtobool
|
||||
from openbb_terminal.core.config import paths
|
||||
from openbb_terminal.core.config.paths import (
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
from openbb_terminal.rich_config import console
|
||||
from openbb_terminal.session import local_model as Local
|
||||
from openbb_terminal.session import session_model
|
||||
from openbb_terminal.session import (
|
||||
local_model as Local,
|
||||
session_model,
|
||||
)
|
||||
from openbb_terminal.session.user import User
|
||||
|
||||
|
||||
|
||||
@@ -15,9 +15,11 @@ import pytz
|
||||
from dotenv import set_key
|
||||
|
||||
# IMPORTATION INTERNAL
|
||||
from openbb_terminal import config_plot as cfg_plot
|
||||
from openbb_terminal import featflags_controller as obbff_ctrl
|
||||
from openbb_terminal import feature_flags as obbff
|
||||
from openbb_terminal import (
|
||||
config_plot as cfg_plot,
|
||||
featflags_controller as obbff_ctrl,
|
||||
feature_flags as obbff,
|
||||
)
|
||||
from openbb_terminal.core.config import paths
|
||||
from openbb_terminal.core.config.paths import (
|
||||
USER_DATA_SOURCES_DEFAULT_FILE,
|
||||
|
||||
Reference in New Issue
Block a user