diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67987f8..8ba18a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: check-ast @@ -14,7 +14,7 @@ repos: files: requirements-dev.txt - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.0 hooks: - id: mypy exclude: docs/source/conf.py @@ -27,7 +27,7 @@ repos: - id: blackdoc - repo: https://github.com/econchick/interrogate - rev: 1.5.0 + rev: 1.7.0 hooks: - id: interrogate exclude: ^(docs|tests) @@ -50,7 +50,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.5 + rev: v0.4.3 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -73,7 +73,7 @@ repos: - id: nb-strip-paths - repo: https://github.com/tox-dev/pyproject-fmt - rev: 1.7.0 + rev: 1.8.0 hooks: - id: pyproject-fmt 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