Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3177420 commit eeb6bc4Copy full SHA for eeb6bc4
1 file changed
typeshed_client/finder.py
@@ -381,7 +381,9 @@ def _find_file_in_dir(
381
382
383
def find_typeshed() -> Path:
384
- return importlib_resources.files("typeshed_client") / "typeshed"
+ path = importlib_resources.files("typeshed_client") / "typeshed"
385
+ assert isinstance(path, Path), repr(path)
386
+ return path
387
388
389
def parse_stub_file(path: Path) -> ast.Module:
0 commit comments