diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 123a94d3013d..f7c29a759687 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,7 @@ repos: args: [--fix=lf] - id: check-case-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.2 # must match requirements-tests.txt + rev: v0.13.2 # must match requirements-tests.txt hooks: - id: ruff name: Run ruff on stubs, tests and scripts @@ -27,7 +27,7 @@ repos: - "--unsafe-fixes" files: '.*test_cases/.+\.py$' - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.1.0 + rev: 25.9.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 diff --git a/requirements-tests.txt b/requirements-tests.txt index 293e12c6fa21..afddb1603329 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,6 +1,6 @@ # Type checkers that we test our stubs against. These should always # be pinned to a specific version to make failure reproducible. -mypy==1.18.1 +mypy==1.18.2 pyright==1.1.405 # Libraries used by our various scripts. @@ -13,13 +13,13 @@ packaging==25.0 pathspec>=0.11.1 pre-commit # Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml. -ruff==0.12.2 +ruff==0.13.2 stubdefaulter==0.1.0 termcolor>=2.3 tomli==2.2.1; python_version < "3.11" tomlkit==0.13.3 typing_extensions>=4.15.0rc1 -uv==0.8.6 +uv==0.8.22 # Utilities for typeshed infrastructure scripts. ts_utils @ file:lib