Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #82

Merged
merged 2 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
- id: add-trailing-comma

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.6"
rev: "v0.9.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
24 changes: 12 additions & 12 deletions tests/test_opendap_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ def test_das_response(dap_client):
assert 'String standard_name "latitude"' in content
assert 'String standard_name "time"' in content
assert 'String standard_name "longitude"' in content
assert (
'String long_name "4xDaily Air temperature at sigma level 995"' in content
), "long_name attribute missing from air DataArray"
assert (
'String title "4x daily NMC reanalysis (1948)"' in content
), "Global attributes are returned"
assert 'String long_name "4xDaily Air temperature at sigma level 995"' in content, (
"long_name attribute missing from air DataArray"
)
assert 'String title "4x daily NMC reanalysis (1948)"' in content, (
"Global attributes are returned"
)


def test_dods_response(dap_client):
Expand Down Expand Up @@ -112,12 +112,12 @@ def test_single_das_response(dap_single_client):
assert 'String standard_name "latitude"' in content
assert 'String standard_name "time"' in content
assert 'String standard_name "longitude"' in content
assert (
'String long_name "4xDaily Air temperature at sigma level 995"' in content
), "long_name attribute missing from air DataArray"
assert (
'String title "4x daily NMC reanalysis (1948)"' in content
), "Global attributes are returned"
assert 'String long_name "4xDaily Air temperature at sigma level 995"' in content, (
"long_name attribute missing from air DataArray"
)
assert 'String title "4x daily NMC reanalysis (1948)"' in content, (
"Global attributes are returned"
)


def test_single_dods_response(dap_single_client):
Expand Down
Loading