From 55ba2f4070ca7c1abbb0f88ffcbf48de3c853e4e Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Mon, 20 Apr 2020 19:48:59 +0200 Subject: [PATCH] Fix pylint in downloaders --- PFERD/downloaders.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PFERD/downloaders.py b/PFERD/downloaders.py index 7c30447..6c34004 100644 --- a/PFERD/downloaders.py +++ b/PFERD/downloaders.py @@ -39,7 +39,12 @@ class HttpDownloader(): ) return session - def download(self, url: str, target_path: Path, parameters: Optional[Dict[str, Any]] = None) -> None: + def download( + self, + url: str, + target_path: Path, + parameters: Optional[Dict[str, Any]] = None, + ) -> None: """Download a given url to a given path, optionally with some get parameters.""" parameters = parameters if parameters else {} with self._session.get(url, params=parameters, stream=True) as response: