From a08ee7e848450c92fcb24cee05cf7558d1ac361c Mon Sep 17 00:00:00 2001 From: teh_coderer Date: Mon, 13 Mar 2023 11:50:08 -0400 Subject: [PATCH] ruff --- openbb_terminal/dashboards/stream/pages/Indicators.py | 2 +- openbb_terminal/reports/reports_controller.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openbb_terminal/dashboards/stream/pages/Indicators.py b/openbb_terminal/dashboards/stream/pages/Indicators.py index 6146bb03582..83bfe22d6bb 100644 --- a/openbb_terminal/dashboards/stream/pages/Indicators.py +++ b/openbb_terminal/dashboards/stream/pages/Indicators.py @@ -1,7 +1,7 @@ import asyncio import re from datetime import date, datetime, timedelta -from typing import Any, List, Optional, Union +from typing import Any, List from unittest.mock import patch import pandas as pd diff --git a/openbb_terminal/reports/reports_controller.py b/openbb_terminal/reports/reports_controller.py index 793c0f727fa..17704c7589d 100644 --- a/openbb_terminal/reports/reports_controller.py +++ b/openbb_terminal/reports/reports_controller.py @@ -144,8 +144,8 @@ class ReportController(BaseController): # return try: - # noqa: F401, E501 # pylint: disable=C0415, W0611 - import darts # pyright: reportMissingImports=false + # pylint: disable=C0415, W0611 + import darts # noqa: F401, E501 # pyright: reportMissingImports=false FORECASTING_TOOLKIT_ENABLED = True except ImportError: