diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af6f63f..dbb4f49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ exclude: 'scripts/.*' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -45,7 +45,7 @@ repos: # files: .pre-commit-config.yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.19.1 hooks: - id: mypy name: mypy @@ -61,20 +61,20 @@ repos: # files: ^(src/|tests/) - repo: https://github.com/PyCQA/isort - rev: 6.0.1 + rev: 7.0.0 hooks: - id: isort args: ["--profile", "black", "--filter-files", "--combine-as", "honor--noqa"] -- repo: https://github.com/psf/black - rev: 25.1.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.12.0 hooks: - id: black language_version: python3.9 args: ["--skip-magic-trailing-comma"] - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.2 hooks: - args: - --py39-plus @@ -133,7 +133,7 @@ repos: # C901 function is too complex # for iter_at_depth # PLR0912 too many branches # for iter_at_depth # - rev: 'v0.11.9' + rev: 'v0.14.10' hooks: - id: ruff exclude: "tests" @@ -145,6 +145,6 @@ repos: # reads pyproject.toml for additional config - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.400 + rev: v1.1.407 hooks: - id: pyright