diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd759b5..220520c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.5.2' + rev: 'v0.5.5' hooks: - id: ruff args: ["--fix"] diff --git a/ci/requirements/environment.yml b/ci/requirements/environment.yml index 083c3ac..ead0ea4 100644 --- a/ci/requirements/environment.yml +++ b/ci/requirements/environment.yml @@ -8,12 +8,10 @@ dependencies: - numpy<1.26.3 - pooch - regionmask - #- setuptools - xarray - dask - - cf_xarray>=0.8.0 + - cf_xarray>=0.8.1 - xesmf>=0.7.0 - # - numba - netCDF4 # for testing - pytest @@ -26,5 +24,4 @@ dependencies: - cmor - cdo - python-cdo - - pip: - - git+https://github.com/euro-cordex/py-cordex.git # always use master for now + - py-cordex diff --git a/tests/test_codes.py b/tests/test_codes.py index cda7c78..7b69755 100644 --- a/tests/test_codes.py +++ b/tests/test_codes.py @@ -9,7 +9,7 @@ def test_codes(): "description": "temperature", "units": "K", "layer": 110.0, - "time_cell_method": "mean", + "time_cell_method": "point", "cf_name": "ta", "code": 130, "module": "atmos",