Skip to content
Snippets Groups Projects
Commit 45cd62b5 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Fix warning in PyCharm by explicitly declaring `abc.ABC` as superclass

This fixes a warning that `AbstractSubprocessCommand` doesn't implement all
abstract methods.
parent feace540
No related branches found
Tags
No related merge requests found
...@@ -412,7 +412,7 @@ class RemoveTreeCommand(AbstractCommand): ...@@ -412,7 +412,7 @@ class RemoveTreeCommand(AbstractCommand):
@attr.s @attr.s
class AbstractSubprocessCommand(AbstractCommand): class AbstractSubprocessCommand(AbstractCommand, abc.ABC):
readline_timeout = attr.ib(default=SUBPROC_READLINE_TIMEOUT) readline_timeout = attr.ib(default=SUBPROC_READLINE_TIMEOUT)
proc = attr.ib(validator=attr.validators.instance_of(asyncio.subprocess.Process), proc = attr.ib(validator=attr.validators.instance_of(asyncio.subprocess.Process),
init=False) init=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment