mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Update most test/lint dependencies (#11641)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user