diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1fd2e1b7d9..311b429a017 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer files: (.*\.(py|md|rst|yaml|yml))$ @@ -72,7 +72,7 @@ repos: name: Unused noqa - repo: https://github.com/pycqa/isort - rev: 6.0.1 + rev: 6.1.0 hooks: - id: isort exclude: | @@ -100,8 +100,8 @@ repos: test/3x/torch/.+ )$ - - repo: https://github.com/psf/black.git - rev: 25.1.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.9.0 hooks: - id: black files: (.*\.py)$ @@ -113,7 +113,7 @@ repos: )$ - repo: https://github.com/asottile/blacken-docs - rev: 1.19.1 + rev: 1.20.0 hooks: - id: blacken-docs args: [--line-length=120, --skip-errors] @@ -146,7 +146,7 @@ repos: )$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.2 + rev: v0.13.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --no-cache]