Skip to content

Commit a99e8e4

Browse files
authored
Update pathspec to 1.0.0 (#15234)
1 parent 9eb6c14 commit a99e8e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ts_utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def close(self: TemporaryFileWrapper[str]) -> None:
233233
@functools.cache
234234
def get_gitignore_spec() -> pathspec.PathSpec:
235235
with GITIGNORE_PATH.open(encoding="UTF-8") as f:
236-
return pathspec.GitIgnoreSpec.from_lines(f)
236+
return pathspec.GitIgnoreSpec.from_lines(f) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
237237

238238

239239
def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ aiohttp==3.13.3
1010
grpcio-tools>=1.66.2; python_version < "3.14" # For grpc_tools.protoc
1111
mypy-protobuf==4.0.0
1212
packaging==25.0
13-
pathspec>=0.11.1,<1.0.0
13+
pathspec>=1.0.0
1414
pre-commit
1515
# Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml.
1616
ruff==0.14.10

0 commit comments

Comments
 (0)