Skip to content

Commit e213e04

Browse files
authored
Update pathspec to >=1.0.3 (#15244)
1 parent 2e67ef8 commit e213e04

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) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
236+
return pathspec.GitIgnoreSpec.from_lines(f)
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
@@ -8,7 +8,7 @@ aiohttp==3.13.3
88
grpcio-tools>=1.76.0 # For grpc_tools.protoc
99
mypy-protobuf==4.0.0
1010
packaging==25.0
11-
pathspec>=1.0.0
11+
pathspec>=1.0.3
1212
pre-commit
1313
# Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml.
1414
ruff==0.14.10

0 commit comments

Comments
 (0)