diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22319fb..0b99ec8 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: v3.3.0 + rev: v4.0.1 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -9,8 +9,8 @@ repos: - id: check-yaml - id: double-quote-string-fixer - - repo: https://github.com/ambv/black - rev: 20.8b1 + - repo: https://github.com/psf/black + rev: 21.9b0 hooks: - id: black @@ -19,8 +19,8 @@ repos: hooks: - id: blackdoc - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + - repo: https://github.com/PyCQA/flake8 + rev: 3.9.2 hooks: - id: flake8 @@ -28,13 +28,13 @@ repos: rev: v2.2.0 hooks: - id: seed-isort-config - - repo: https://github.com/pre-commit/mirrors-isort - rev: v5.6.4 + - repo: https://github.com/PyCQA/isort + rev: 5.9.3 hooks: - id: isort - - repo: https://github.com/prettier/pre-commit - rev: 57f39166b5a5a504d6808b87ab98d41ebf095b46 + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v2.4.1 hooks: - id: prettier diff --git a/xesmf/tests/test_oceanmodels.py b/xesmf/tests/test_oceanmodels.py index c4d9079..74f3f96 100644 --- a/xesmf/tests/test_oceanmodels.py +++ b/xesmf/tests/test_oceanmodels.py @@ -81,7 +81,7 @@ def test_mom6like_to_5x5(): @pytest.mark.testcases def test_mom6_to_1x1(): - """ check regridding of MOM6 to regular lon/lat """ + """check regridding of MOM6 to regular lon/lat""" dataurl = 'http://35.188.34.63:8080/thredds/dodsC/OM4p5/' mom6 = xr.open_dataset(