Skip to content

Commit 04affd8

Browse files
Formatted as per pylint and pep8
1 parent cfe45b6 commit 04affd8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pandas_datareader/data.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,14 @@ def DataReader(name, data_source=None, start=None, end=None,
303303
ff = DataReader("6_Portfolios_2x3", "famafrench")
304304
ff = DataReader("F-F_ST_Reversal_Factor", "famafrench")
305305
"""
306-
expected_source = ["yahoo", "google", "iex", "iex-tops", "iex-last", "iex-last", "bankofcanada",
307-
"stooq", "iex-book", "enigma", "fred", "famafrench", "oecd", "eurostat", "nasdaq",
308-
"quandl", "moex", "morningstar", 'robinhood', 'tiingo', "yahoo-actions",
309-
"yahoo-dividends", "av-forex", "av-daily", "av-daily-adjusted", "av-weekly",
310-
"av-weekly-adjusted", "av-monthly", "av-monthly-adjusted"]
306+
expected_source = ["yahoo", "google", "iex", "iex-tops", "iex-last",
307+
"iex-last", "bankofcanada", "stooq", "iex-book",
308+
"enigma", "fred", "famafrench", "oecd", "eurostat",
309+
"nasdaq", "quandl", "moex", "morningstar", 'robinhood',
310+
"tiingo", "yahoo-actions", "yahoo-dividends",
311+
"av-forex", "av-daily", "av-daily-adjusted",
312+
"av-weekly", "av-weekly-adjusted", "av-monthly",
313+
"av-monthly-adjusted"]
311314

312315
if data_source not in expected_source:
313316
msg = "data_source=%r is not implemented" % data_source

0 commit comments

Comments
 (0)