From a2d80b24036710068e1321796869dfffc466b094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Wed, 7 Sep 2022 20:05:10 +0200 Subject: [PATCH] silence flake8 errors (abstract class with no abstract method) --- dvc/parsing/context.py | 2 +- dvc/repo/experiments/executor/manager/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/parsing/context.py b/dvc/parsing/context.py index b4315d736..5f2967c22 100644 --- a/dvc/parsing/context.py +++ b/dvc/parsing/context.py @@ -159,7 +159,7 @@ class Value(Node): PRIMITIVES = (int, float, str, bytes, bool) -class Container(Node, ABC): +class Container(Node, ABC): # noqa: B024 meta: Meta data: Union[list, dict] _key_transform = staticmethod(identity) diff --git a/dvc/repo/experiments/executor/manager/base.py b/dvc/repo/experiments/executor/manager/base.py index 62003cfa7..85e45dff6 100644 --- a/dvc/repo/experiments/executor/manager/base.py +++ b/dvc/repo/experiments/executor/manager/base.py @@ -21,7 +21,7 @@ if TYPE_CHECKING: logger = logging.getLogger(__name__) -class BaseExecutorManager(ABC, Mapping): +class BaseExecutorManager(ABC, Mapping): # noqa: B024 """Manages executors for a collection of experiments to be run.""" EXECUTOR_CLS: Type = BaseExecutor