From 35d814c2089988becc0d7a7db20ebfca4d492366 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 20:39:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- erddapy/core/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erddapy/core/interfaces.py b/erddapy/core/interfaces.py index df4633c..de42225 100644 --- a/erddapy/core/interfaces.py +++ b/erddapy/core/interfaces.py @@ -37,7 +37,7 @@ def to_pandas( data = urlopen(url, requests_kwargs or {}) try: return pd.read_csv(data, **(pandas_kwargs or {})) - except Exception as e: # noqa: BLE001 + except Exception as e: msg = f"Could not read url {url} with Pandas.read_csv." raise ValueError(msg) from e