diff --git a/mypy.ini b/mypy.ini index f2846c23b94a3e6c255d305340aa7dd9d5ad4609..31ea90d35f9b42fefc658b22845e1e17c84e2e85 100644 --- a/mypy.ini +++ b/mypy.ini @@ -21,6 +21,3 @@ ignore_missing_imports = True [mypy-pytest.*] ignore_missing_imports = True - -[mypy-pyfuse3_asyncio.*] -ignore_missing_imports = True diff --git a/swh/fuse/fuse.py b/swh/fuse/fuse.py index 00b7c5f4421af7b805f80ac9ae0d3706a40de50f..bd309e168ed5f69a1a08b1cf363e6a9236a4811b 100644 --- a/swh/fuse/fuse.py +++ b/swh/fuse/fuse.py @@ -14,7 +14,7 @@ from typing import Any, Dict, List import urllib.parse import pyfuse3 -import pyfuse3_asyncio +import pyfuse3.asyncio import requests from swh.fuse import LOGGER_NAME @@ -348,7 +348,7 @@ async def main(swhids: List[CoreSWHID], root_path: Path, conf: Dict[str, Any]) - """swh-fuse CLI entry-point""" # Use pyfuse3 asyncio layer to match the rest of Software Heritage codebase - pyfuse3_asyncio.enable() + pyfuse3.asyncio.enable() async with FuseCache(conf["cache"]) as cache: fs = Fuse(root_path, cache, conf)