diff --git a/swh/fuse/fuse.py b/swh/fuse/fuse.py index 207bd7e16aaa9c7cdcd699dbf17c93fa1b0dd67f..e9fc1617da453d1c15f6ce6da83eebffaa8a0451 100644 --- a/swh/fuse/fuse.py +++ b/swh/fuse/fuse.py @@ -35,9 +35,7 @@ class Fuse(pyfuse3.Operations): self._next_inode: int = pyfuse3.ROOT_INODE self._inode2entry: Dict[int, FuseEntry] = {} - # The fuse constructor keyword is propagated up to FuseEntry dataclass, but mypy - # 0.812 considers it an unexpected kwarg. Skip typing it. - self.root = Root(fuse=self) # type: ignore + self.root = Root(fuse=self) self.conf = conf self.logger = logging.getLogger(LOGGER_NAME) diff --git a/tox.ini b/tox.ini index d91a00631d44af6ed8778b5912118afd4a69051e..ffd8eeca5c137e1542287e74eb82885970d4d1bf 100644 --- a/tox.ini +++ b/tox.ini @@ -33,7 +33,7 @@ commands = extras = testing deps = - mypy==0.942 + mypy==1.0 commands = mypy swh