Skip to content

Commit d679f33

Browse files
committed
Add a pyright:ignore
1 parent 977b23a commit d679f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ts_utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def close(self: TemporaryFileWrapper[str]) -> None:
233233
@functools.cache
234234
def get_gitignore_spec() -> pathspec.PathSpec:
235235
with GITIGNORE_PATH.open(encoding="UTF-8") as f:
236-
return pathspec.GitIgnoreSpec.from_lines(f)
236+
return pathspec.GitIgnoreSpec.from_lines(f) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
237237

238238

239239
def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:

0 commit comments

Comments
 (0)