mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
Bump various test dependencies (#9549)
This commit is contained in:
@@ -13,7 +13,7 @@ from pathlib import Path
|
||||
from typing import NamedTuple
|
||||
from typing_extensions import Annotated
|
||||
|
||||
import pathspec # type: ignore[import]
|
||||
import pathspec
|
||||
import tomli
|
||||
from packaging.requirements import Requirement
|
||||
|
||||
@@ -215,4 +215,4 @@ def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:
|
||||
normalized_path = path.as_posix()
|
||||
if path.is_dir():
|
||||
normalized_path += "/"
|
||||
return spec.match_file(normalized_path) # type: ignore[no-any-return]
|
||||
return spec.match_file(normalized_path)
|
||||
|
||||
Reference in New Issue
Block a user