diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 181a8a9d004..b4836af5041 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: skip: [shellcheck, check-markdown, check-file-names] # Standalone checks in the CI repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -10,26 +10,26 @@ repos: - id: trailing-whitespace - id: check-json - repo: https://github.com/koalaman/shellcheck-precommit - rev: v0.10.0 + rev: v0.11.0 hooks: - id: shellcheck args: ["--severity=warning"] -- repo: https://github.com/psf/black - rev: 22.3.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 8.0.0 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 args: ["--config", "tools/.flake8"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: ['types-requests==2.27.*'] @@ -45,6 +45,6 @@ repos: entry: ./tools/check-file-names.sh language: system - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.4.1 hooks: - id: codespell