From 45cd62b558be26c890de0398e5304c1200d00a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= <sybren@stuvel.eu> Date: Wed, 21 Nov 2018 11:33:01 +0100 Subject: [PATCH] Fix warning in PyCharm by explicitly declaring `abc.ABC` as superclass This fixes a warning that `AbstractSubprocessCommand` doesn't implement all abstract methods. --- flamenco_worker/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flamenco_worker/commands.py b/flamenco_worker/commands.py index 4bf208bd..cfcfc54a 100644 --- a/flamenco_worker/commands.py +++ b/flamenco_worker/commands.py @@ -412,7 +412,7 @@ class RemoveTreeCommand(AbstractCommand): @attr.s -class AbstractSubprocessCommand(AbstractCommand): +class AbstractSubprocessCommand(AbstractCommand, abc.ABC): readline_timeout = attr.ib(default=SUBPROC_READLINE_TIMEOUT) proc = attr.ib(validator=attr.validators.instance_of(asyncio.subprocess.Process), init=False) -- GitLab