diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 102cfadcb70..464d80d7415 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,13 +18,13 @@ repos: files: ^xarray/ - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: 'v0.1.6' + rev: 'v0.1.9' hooks: - id: ruff args: ["--fix"] # https://github.com/python/black#version-control-integration - - repo: https://github.com/psf/black - rev: 23.11.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.12.1 hooks: - id: black-jupyter - repo: https://github.com/keewis/blackdoc @@ -32,10 +32,10 @@ repos: hooks: - id: blackdoc exclude: "generate_aggregations.py" - additional_dependencies: ["black==23.11.0"] + additional_dependencies: ["black==23.12.1"] - id: blackdoc-autoupdate-black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.1 + rev: v1.8.0 hooks: - id: mypy # Copied from setup.cfg