From d3d7d5f667e76db7cc9e9eeb38ef0498fec8d57d Mon Sep 17 00:00:00 2001 From: Frank Milthaler Date: Sun, 12 Apr 2020 13:24:36 +0100 Subject: [PATCH] formatting improvements with black --- finquant/portfolio.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/finquant/portfolio.py b/finquant/portfolio.py index 7f5b7443..d4d9a26c 100644 --- a/finquant/portfolio.py +++ b/finquant/portfolio.py @@ -752,9 +752,11 @@ def _quandl_request(names, start_date=None, end_date=None): try: resp = quandl.get(reqnames, start_date=start_date, end_date=end_date) except Exception: - errormsg = "Error during download of stock data from Quandl.\n" \ - + "Make sure all the requested stock names/tickers are " \ - + "supported by Quandl." + errormsg = ( + "Error during download of stock data from Quandl.\n" + + "Make sure all the requested stock names/tickers are " + + "supported by Quandl." + ) raise Exception(errormsg) return resp