From 8903d4973f0ea651db0ebcb5b2366e5b8f3e31a5 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 5 Mar 2024 13:46:47 -0300 Subject: [PATCH] lint --- erddapy/core/url.py | 1 - erddapy/erddapy.py | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/erddapy/core/url.py b/erddapy/core/url.py index 4a86d43..b54fcea 100644 --- a/erddapy/core/url.py +++ b/erddapy/core/url.py @@ -2,7 +2,6 @@ from __future__ import annotations -import os import copy import functools import io diff --git a/erddapy/erddapy.py b/erddapy/erddapy.py index 83ea1e7..28be59c 100644 --- a/erddapy/erddapy.py +++ b/erddapy/erddapy.py @@ -405,8 +405,14 @@ def to_pandas( response = kw.pop("response", "csvp") distinct = kw.pop("distinct", False) url = self.get_download_url(response=response, distinct=distinct) - requests_kwargs = requests_kwargs if requests_kwargs else self.requests_kwargs - return to_pandas(url, requests_kwargs=requests_kwargs, pandas_kwargs=dict(**kw)) + requests_kwargs = ( + requests_kwargs if requests_kwargs else self.requests_kwargs + ) + return to_pandas( + url, + requests_kwargs=requests_kwargs, + pandas_kwargs=dict(**kw), + ) def to_ncCF( # noqa: N802 self: ERDDAP,