lint fixes

This commit is contained in:
Devaev Maxim
2020-05-11 08:06:44 +03:00
parent 60b6c219d9
commit 98a176f740
9 changed files with 23 additions and 18 deletions

View File

@@ -74,8 +74,7 @@ class Plugin(BaseMsd):
@contextlib.asynccontextmanager
async def write_image(self, name: str) -> AsyncGenerator[None, None]:
if True: # pylint: disable=using-constant-test
# XXX: Vulture hack
if self is not None: # XXX: Vulture and pylint hack
raise MsdDisabledError()
yield