From ac7107416546b13d947a4483eca5245a8b6fc5ed Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 19:14:59 +0000 Subject: [PATCH] Update most test/lint dependencies (#11641) Co-authored-by: Alex Waygood --- .pre-commit-config.yaml | 4 ++-- requirements-tests.txt | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 198ba6eb6..a23a2d575 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: args: [--fix=lf] - id: check-case-conflict - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.0 # must match requirements-tests.txt + rev: v0.3.2 # must match requirements-tests.txt hooks: - id: ruff name: Run ruff on stubs, tests and scripts @@ -28,7 +28,7 @@ repos: args: ["--exit-non-zero-on-fix", "--select=FA,I,RUF100", "--no-force-exclude", "--unsafe-fixes"] files: '.*test_cases/.+\.py$' - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.1.1 # must match requirements-tests.txt + rev: 24.3.0 # must match requirements-tests.txt hooks: - id: black language_version: python3.10 diff --git a/requirements-tests.txt b/requirements-tests.txt index 519e9bccd..8f486924d 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,7 +1,7 @@ # 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.1.1 # must match .pre-commit-config.yaml +black==24.3.0 # must match .pre-commit-config.yaml flake8==7.0.0 # must match .pre-commit-config.yaml flake8-noqa==1.4.0 # must match .pre-commit-config.yaml flake8-pyi==24.3.0 # must match .pre-commit-config.yaml @@ -9,16 +9,16 @@ mypy==1.9.0 pre-commit-hooks==4.5.0 # must match .pre-commit-config.yaml pyright==1.1.354 pytype==2024.3.19; platform_system != "Windows" and python_version < "3.12" -ruff==0.3.0 # must match .pre-commit-config.yaml +ruff==0.3.2 # must match .pre-commit-config.yaml # Libraries used by our various scripts. aiohttp==3.9.3 -packaging==23.2 +packaging==24.0 pathspec>=0.11.1 pre-commit stubdefaulter==0.1.0 termcolor>=2.3 tomli==2.0.1 -tomlkit==0.12.3 +tomlkit==0.12.4 typing_extensions>=4.9.0rc1 -uv==0.1.18 # https://github.com/astral-sh/uv/issues/2450 +uv==0.1.22 # https://github.com/astral-sh/uv/issues/2450