diff options
Diffstat (limited to 'kvmd/plugins/msd/__init__.py')
-rw-r--r-- | kvmd/plugins/msd/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/__init__.py b/kvmd/plugins/msd/__init__.py index 9f120919..f992d647 100644 --- a/kvmd/plugins/msd/__init__.py +++ b/kvmd/plugins/msd/__init__.py @@ -134,7 +134,8 @@ class BaseMsd(BasePlugin): raise NotImplementedError() @contextlib.asynccontextmanager - async def read_image(self, name: str) -> AsyncGenerator[int, None]: # pylint: disable=unused-argument + async def read_image(self, name: str) -> AsyncGenerator[int, None]: + _ = name if self is not None: # XXX: Vulture and pylint hack raise NotImplementedError() yield 1 @@ -143,7 +144,9 @@ class BaseMsd(BasePlugin): raise NotImplementedError() @contextlib.asynccontextmanager - async def write_image(self, name: str, size: int) -> AsyncGenerator[int, None]: # pylint: disable=unused-argument + async def write_image(self, name: str, size: int) -> AsyncGenerator[int, None]: + _ = name + _ = size if self is not None: # XXX: Vulture and pylint hack raise NotImplementedError() yield 1 |