mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 13:33:59 +08:00
Update pathspec to 1.0.0 (#15234)
This commit is contained in:
@@ -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)
|
||||
return pathspec.GitIgnoreSpec.from_lines(f) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
|
||||
|
||||
|
||||
def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:
|
||||
|
||||
@@ -10,7 +10,7 @@ aiohttp==3.13.3
|
||||
grpcio-tools>=1.66.2; python_version < "3.14" # For grpc_tools.protoc
|
||||
mypy-protobuf==4.0.0
|
||||
packaging==25.0
|
||||
pathspec>=0.11.1,<1.0.0
|
||||
pathspec>=1.0.0
|
||||
pre-commit
|
||||
# Required by create_baseline_stubs.py. Must match .pre-commit-config.yaml.
|
||||
ruff==0.14.10
|
||||
|
||||
Reference in New Issue
Block a user