From 64bbe6bbdff40a58eee610bed9c66f7c2f9d1c2b Mon Sep 17 00:00:00 2001 From: Antoine Lambert <anlambert@softwareheritage.org> Date: Thu, 4 Apr 2024 13:59:44 +0200 Subject: [PATCH] Remove unused interface.py file --- swh/scrubber/interface.py | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 swh/scrubber/interface.py diff --git a/swh/scrubber/interface.py b/swh/scrubber/interface.py deleted file mode 100644 index 8680274..0000000 --- a/swh/scrubber/interface.py +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2024 The Software Heritage developers -# See the AUTHORS file at the top-level directory of this distribution -# License: GNU General Public License version 3, or any later version -# See top-level LICENSE file for more information - - -from typing_extensions import Protocol, runtime_checkable - -from swh.core.statsd import Statsd - -from .db import ConfigEntry, Datastore - - -@runtime_checkable -class CheckerInterface(Protocol): - @property - def config(self) -> ConfigEntry: - ... - - @property - def datastore(self) -> Datastore: - ... - - @property - def statsd(self) -> Statsd: - ... - - def run(self) -> None: - ... -- GitLab