From 414d66940d2cab02cb68a1055a3e20b18f5da10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Thu, 20 Jul 2023 16:38:44 +0200 Subject: [PATCH] Mark abstract methods as such --- scripts/externalTests/test_helpers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/externalTests/test_helpers.py b/scripts/externalTests/test_helpers.py index 15cbb2923bae..36ae71b2178e 100644 --- a/scripts/externalTests/test_helpers.py +++ b/scripts/externalTests/test_helpers.py @@ -23,7 +23,7 @@ import re import subprocess import sys -from abc import ABCMeta +from abc import abstractmethod, ABCMeta from argparse import ArgumentParser from dataclasses import dataclass, field from enum import Enum @@ -115,16 +115,19 @@ def clean(self): rmtree(self.tmp_dir) @on_local_test_dir + @abstractmethod def configure(self, presets: List[SettingsPreset]): # TODO: default to hardhat # pylint: disable=fixme raise NotImplementedError() @on_local_test_dir + @abstractmethod def compile(self, preset: SettingsPreset): # TODO: default to hardhat # pylint: disable=fixme raise NotImplementedError() @on_local_test_dir + @abstractmethod def run_test(self): # TODO: default to hardhat # pylint: disable=fixme raise NotImplementedError()