Skip to content

Commit

Permalink
Added parameters file
Browse files Browse the repository at this point in the history
  • Loading branch information
wleong1 committed Mar 7, 2024
1 parent 392e62d commit c4b5a11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/live_price_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import yfinance as yf # type: ignore[import-not-found] # type: ignore[import-untyped] # pylint: disable=E0401
import pandas as pd

from src.parameters import ALPHA_VANTAGE_API_KEY # type: ignore[import-not-found] # pylint: disable=E0401, E0611
from src.parameters import ALPHA_VANTAGE_API_KEY # type: ignore[attr-defined]

ALPHA_VANTAGE_ENDPOINT = "https://www.alphavantage.co/query"

Expand Down
2 changes: 1 addition & 1 deletion src/news_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import requests

from src.parameters import NEWS_API_KEY # type: ignore[import-not-found] # type: ignore[import-untyped] # pylint: disable=E0401, E0611, C0301
from src.parameters import NEWS_API_KEY # type: ignore[attr-defined]

NEWS_ENDPOINT = "https://newsapi.org/v2/everything"

Expand Down
2 changes: 2 additions & 0 deletions src/parameters.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEWS_API_KEY = ""
ALPHA_VANTAGE_API_KEY = ""

0 comments on commit c4b5a11

Please sign in to comment.