diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e94af2810..014b4d5ef 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.5.0 # must match requirements-tests.txt + rev: v4.6.0 # must match requirements-tests.txt 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.3.7 # must match requirements-tests.txt + rev: v0.5.0 # must match requirements-tests.txt hooks: - id: ruff name: Run ruff on stubs, tests and scripts @@ -27,11 +27,11 @@ repos: - "--unsafe-fixes" files: '.*test_cases/.+\.py$' - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.3.0 # must match requirements-tests.txt + rev: 24.4.2 # must match requirements-tests.txt hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 # must match requirements-tests.txt + rev: 7.1.0 # must match requirements-tests.txt hooks: - id: flake8 additional_dependencies: diff --git a/requirements-tests.txt b/requirements-tests.txt index 15dc243ed..b2cdb572c 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,24 +1,24 @@ # Type checkers and other linters that we test our stubs against. These should always # be pinned to a specific version to make failure reproducible. See also the # "tool.typeshed" section in pyproject.toml for additional type checkers. -black==24.3.0 # must match .pre-commit-config.yaml -flake8==7.0.0 # must match .pre-commit-config.yaml +black==24.4.2 # must match .pre-commit-config.yaml +flake8==7.1.0 # must match .pre-commit-config.yaml flake8-noqa==1.4.0 # must match .pre-commit-config.yaml flake8-pyi==24.6.0 # must match .pre-commit-config.yaml -mypy==1.10.0 -pre-commit-hooks==4.5.0 # must match .pre-commit-config.yaml +mypy==1.10.1 +pre-commit-hooks==4.6.0 # must match .pre-commit-config.yaml pyright==1.1.369 pytype==2024.4.11; platform_system != "Windows" and python_version < "3.12" -ruff==0.3.7 # must match .pre-commit-config.yaml +ruff==0.5.0 # must match .pre-commit-config.yaml # Libraries used by our various scripts. -aiohttp==3.9.4 -packaging==24.0 +aiohttp==3.9.5 +packaging==24.1 pathspec>=0.11.1 pre-commit stubdefaulter==0.1.0 termcolor>=2.3 tomli==2.0.1 -tomlkit==0.12.4 +tomlkit==0.12.5 typing_extensions>=4.12.0rc1 -uv==0.1.27 +uv==0.2.18