mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
Fix module imported but not used
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
- run: bandit -r . || true
|
||||
- run: black --check .
|
||||
- run: codespell --ignore-words-list="mape" --quiet-level=2 --skip=".git"
|
||||
- run: flake8 . --count --ignore=E203,E302,F401,W503 --max-line-length=122 --show-source --statistics
|
||||
- run: flake8 . --count --ignore=E203,W503 --max-line-length=122 --show-source --statistics
|
||||
- run: mypy --ignore-missing-imports .
|
||||
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
|
||||
- run: safety check
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# flake8: noqa
|
||||
from . import discovery
|
||||
from . import due_diligence
|
||||
from . import fundamental_analysis
|
||||
|
||||
@@ -1 +1 @@
|
||||
from . import disc_menu
|
||||
from . import disc_menu # noqa: F401
|
||||
|
||||
@@ -1 +1 @@
|
||||
from . import papermill_menu
|
||||
from . import papermill_menu # noqa: F401
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" fundamental_analysis/business_insider_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.due_diligence.financial_modeling_prep_api import rating
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" due_diligence/finviz_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.due_diligence.finviz_api import analyst
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" discovery/fidelity_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.discovery.fidelity_api import (
|
||||
buy_sell_ratio_color_red_green,
|
||||
price_change_color_red_green,
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" discovery/short_interest_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.discovery.short_interest_api import (
|
||||
high_short_interest,
|
||||
low_float,
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" fundamental_analysis/business_insider_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.fundamental_analysis.business_insider_api import management
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" fundamental_analysis/market_watch_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.fundamental_analysis.market_watch_api import income
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
""" fundamental_analysis/yahoo_finance_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
from gamestonk_terminal.fundamental_analysis.yahoo_finance_api import (
|
||||
from gamestonk_terminal.fundamental_analysis.yahoo_finance_api import ( # noqa: F401
|
||||
info,
|
||||
sustainability,
|
||||
calendar_earnings,
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" fundamental_analysis/yahoo_finance_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
try:
|
||||
from gamestonk_terminal.prediction_techniques.neural_networks import mlp
|
||||
except ModuleNotFoundError as e:
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
""" discovery/short_interest_api.py tests """
|
||||
# noqa: F401
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
from gamestonk_terminal.sentiment.reddit_api import popular_tickers
|
||||
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
import unittest
|
||||
|
||||
# pylint: disable=unused-import
|
||||
import pytest
|
||||
|
||||
try:
|
||||
from gamestonk_terminal.sentiment.twitter_api import inference, sentiment
|
||||
except ModuleNotFoundError as e:
|
||||
|
||||
Reference in New Issue
Block a user