Bump various test dependencies (#9549)

This commit is contained in:
Alex Waygood
2023-01-16 19:04:45 +00:00
committed by GitHub
parent 6b23df3db6
commit 597e1a0078
9 changed files with 19 additions and 16 deletions

View File

@@ -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)