Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone committed Nov 29, 2024
1 parent ea65641 commit 1a0a679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openbb_platform/core/openbb_core/provider/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def make_request(
kwargs["verify"] = combine_certificates(python_settings["cafile"])

if os.environ.get("REQUESTS_CA_BUNDLE") and python_settings.get("cafile") is None:
certs = os.environ.get("REQUESTS_CA_BUNDLE")
certs = os.environ.get("REQUESTS_CA_BUNDLE", "")
kwargs["verify"] = combine_certificates(certs)

if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from typing import Any, Dict, List, Optional

from openbb_core.app.model.abstract.error import OpenBBError
from openbb_core.provider.abstract.fetcher import Fetcher
from openbb_core.provider.standard_models.price_target_consensus import (
PriceTargetConsensusData,
Expand Down Expand Up @@ -84,7 +85,6 @@ async def aextract_data(
"""Extract the raw data from YFinance."""
# pylint: disable=import-outside-toplevel
import asyncio # noqa
from openbb_core.app.model.abstract.error import OpenBBError
from openbb_core.provider.utils.errors import EmptyDataError
from openbb_core.provider.utils.helpers import get_certificates, restore_certs
from warnings import warn
Expand Down

0 comments on commit 1a0a679

Please sign in to comment.