Update most test/lint dependencies (#12713)

This commit is contained in:
renovate[bot]
2024-10-01 14:38:01 +02:00
committed by GitHub
parent 1c96234848
commit 44aa63330b
2 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ repos:
args: [--fix=lf]
- id: check-case-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4 # must match requirements-tests.txt
rev: v0.6.8 # 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.4.2 # must match requirements-tests.txt
rev: 24.8.0 # must match requirements-tests.txt
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 7.1.0 # must match requirements-tests.txt
rev: 7.1.1 # must match requirements-tests.txt
hooks:
- id: flake8
additional_dependencies:

View File

@@ -1,19 +1,19 @@
# 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.4.2 # must match .pre-commit-config.yaml
flake8==7.1.0 # must match .pre-commit-config.yaml
black==24.8.0 # must match .pre-commit-config.yaml
flake8==7.1.1 # 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.11.1
mypy==1.11.2
pre-commit-hooks==4.6.0 # must match .pre-commit-config.yaml
pyright==1.1.382.post1
# pytype can be installed on Windows, but requires building wheels, let's not do that on the CI
pytype==2024.9.13; platform_system != "Windows" and python_version < "3.13"
ruff==0.5.4 # must match .pre-commit-config.yaml
ruff==0.6.8 # must match .pre-commit-config.yaml
# Libraries used by our various scripts.
aiohttp==3.10.2
aiohttp==3.10.8
# 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
@@ -24,6 +24,6 @@ pre-commit
stubdefaulter==0.1.0
termcolor>=2.3
tomli==2.0.1
tomlkit==0.13.0
tomlkit==0.13.2
typing_extensions>=4.12.0rc1
uv==0.2.27
uv==0.4.17