diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 94dca9ea..64a104cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: # Syntax validation and some basic sanity checks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: check-ast @@ -17,7 +17,7 @@ repos: # Linting, sorting and formatting - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.13.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -27,14 +27,14 @@ repos: # Remember to change versions in .azure-pipelines/azure-pipelines.yml to match # the versions here. - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.18.2 hooks: - id: mypy files: 'dials_data/.*\.py$' additional_dependencies: ['types-PyYAML==6.0.12', 'types-requests==2.31.0'] - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.5.14 + rev: 0.8.23 hooks: - id: pip-compile args: [pyproject.toml, -q, -o, requirements.txt]