Skip to content

Commit

Permalink
Merge pull request #343 from ioos/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ocefpaf authored May 7, 2024
2 parents 1b208c1 + 35d814c commit 1e66438
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion erddapy/core/interfaces.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1e66438

Please sign in to comment.