From b40313d20cfb383befe58b58578a41a49cf0be96 Mon Sep 17 00:00:00 2001 From: donbarbos Date: Fri, 9 Jan 2026 20:38:53 +0400 Subject: [PATCH] Update pathspec to >=1.0.3 --- lib/ts_utils/utils.py | 2 +- requirements-tests.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ts_utils/utils.py b/lib/ts_utils/utils.py index 2e4b06a7fa3e..94936cd92057 100644 --- a/lib/ts_utils/utils.py +++ b/lib/ts_utils/utils.py @@ -233,7 +233,7 @@ def close(self: TemporaryFileWrapper[str]) -> None: @functools.cache def get_gitignore_spec() -> pathspec.PathSpec: with GITIGNORE_PATH.open(encoding="UTF-8") as f: - return pathspec.GitIgnoreSpec.from_lines(f) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType] + return pathspec.GitIgnoreSpec.from_lines(f) def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool: diff --git a/requirements-tests.txt b/requirements-tests.txt index 29d086f54d49..8b99d3c7b4c3 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -8,7 +8,7 @@ aiohttp==3.13.3 grpcio-tools>=1.76.0 # For grpc_tools.protoc mypy-protobuf==4.0.0 packaging==25.0 -pathspec>=1.0.0 +pathspec>=1.0.3 pre-commit # Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml. ruff==0.14.10