From cb5cffdffe2def96832466e27cc299f2a37d72b9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 22:32:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 998518e..19b09b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] From 3329e1c4e205acf3089eca60f638532853b292ef Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 22:32:39 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_opendap_router.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/test_opendap_router.py b/tests/test_opendap_router.py index 1335f95..897987e 100644 --- a/tests/test_opendap_router.py +++ b/tests/test_opendap_router.py @@ -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): @@ -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):