Update pathspec to >=1.0.3 (#15244)

This commit is contained in:
Semyon Moroz authored and GitHub committed 2026-01-09 17:05:43 +00:00
1 parent 2e67ef8362
commit e213e04a84
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -233,7 +233,7 @@ else:
@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: