diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29fbc4bff5..953a84a4e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ default_language_version: - python: python3.9 + python: python3.10 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.0 + rev: v0.9.10 hooks: # Run the linter. - id: ruff @@ -17,11 +17,11 @@ repos: # Run the formatter. - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.10.1' + rev: 'v1.15.0' hooks: - id: mypy args: [ --explicit-package-bases ] - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.370 + rev: v1.1.396 hooks: - id: pyright