diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1ddd2cd5..f310612c9 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: v4.6.0 + rev: v5.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.6.9 # must match requirements-tests.txt + rev: v0.7.1 # 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: 24.8.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 diff --git a/requirements-tests.txt b/requirements-tests.txt index b5d4993ae..b439261bd 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,12 +1,12 @@ # Type checkers that we test our stubs against. These should always # be pinned to a specific version to make failure reproducible. -mypy==1.12.0 +mypy==1.13.0 pyright==1.1.386 # pytype can be installed on Windows, but requires building wheels, let's not do that on the CI pytype==2024.10.11; platform_system != "Windows" and python_version >= "3.10" and python_version < "3.13" # Libraries used by our various scripts. -aiohttp==3.10.9 +aiohttp==3.10.10 # grpc install only fails on Windows, but let's avoid building sdist on other platforms # https://github.com/grpc/grpc/issues/36201 grpcio-tools; python_version < "3.13" # For grpc_tools.protoc @@ -15,13 +15,13 @@ packaging==24.1 pathspec>=0.11.1 pre-commit # Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml. -ruff==0.6.9 +ruff==0.7.1 stubdefaulter==0.1.0; python_version < "3.13" # Requires libcst which doesn't have 3.13 wheels yet and requires a Rust compiler termcolor>=2.3 tomli==2.0.2 tomlkit==0.13.2 typing_extensions>=4.12.0rc1 -uv==0.4.18 +uv==0.4.26 # Utilities for typeshed infrastructure scripts. ts_utils @ file:lib