We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 977b23a commit d679f33Copy full SHA for d679f33
lib/ts_utils/utils.py
@@ -233,7 +233,7 @@ def close(self: TemporaryFileWrapper[str]) -> None:
233
@functools.cache
234
def get_gitignore_spec() -> pathspec.PathSpec:
235
with GITIGNORE_PATH.open(encoding="UTF-8") as f:
236
- return pathspec.GitIgnoreSpec.from_lines(f)
+ return pathspec.GitIgnoreSpec.from_lines(f) # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
237
238
239
def spec_matches_path(spec: pathspec.PathSpec, path: Path) -> bool:
0 commit comments