mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Bump pycln and pathspec test dependencies (#10251)
This commit is contained in:
@@ -134,6 +134,4 @@ def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:
|
||||
normalized_path = path.as_posix()
|
||||
if path.is_dir():
|
||||
normalized_path += "/"
|
||||
# pathspec.PathSpec.match_file has partially Unknown file parameter
|
||||
# https://github.com/cpburnz/python-pathspec/pull/75
|
||||
return spec.match_file(normalized_path) # pyright: ignore[reportUnknownMemberType]
|
||||
return spec.match_file(normalized_path)
|
||||
|
||||
Reference in New Issue
Block a user