Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
args: [--fix=lf]
- id: check-case-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9 # must match requirements-tests.txt
rev: v0.15.20 # must match requirements-tests.txt
hooks:
- id: ruff
name: Run ruff on stubs, tests and scripts
Expand All @@ -27,7 +27,7 @@ repos:
- "--unsafe-fixes"
files: '.*test_cases/.+\.py$'
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.0
rev: 26.5.1
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand Down
2 changes: 1 addition & 1 deletion lib/ts_utils/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def update_metadata(distribution: str, **new_values: object) -> dict[str, object
new_key = key.replace("_", "-")
data[new_key] = data.pop(key)
with path.open("w", encoding="UTF-8") as f:
tomlkit.dump(data, f) # pyright: ignore[reportUnknownMemberType] # tomlkit.dump has partially unknown Mapping type
tomlkit.dump(data, f)
return data


Expand Down
10 changes: 5 additions & 5 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ pyright==1.1.411
# Libraries used by our various scripts.
aiohttp==3.14.1
grpcio-tools>=1.76.0; python_version < "3.15" # For grpc_tools.protoc
mypy-protobuf==5.0.0; python_version < "3.15"
packaging==26.0
mypy-protobuf==5.1.0; python_version < "3.15"
packaging==26.2
pathspec>=1.1.1
pre-commit
# Required by create_baseline_stubs.py.
# stubdefaulter depends on libcst, which does not yet install cleanly on Python 3.15.
ruff==0.15.8
ruff==0.15.20
stubdefaulter==0.1.0; python_version < "3.15"
termcolor>=2.3
tomli==2.4.1; python_version < "3.11"
tomlkit==0.14.0
tomlkit==0.15.0
typing_extensions>=4.16.0rc2
uv==0.11.15
uv==0.11.26

# Utilities for typeshed infrastructure scripts.
ts_utils @ file:lib
Loading