diff --git a/requirements-test.txt b/requirements-test.txt index 804503e..b0b21a1 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,11 @@ pytest pytest-mock confluent-kafka pytest-redis +pyyaml requests_mock + +types-flask +types-pyyaml +types-redis +types-requests diff --git a/swh/__init__.py b/swh/__init__.py index fa32dfd..2933e6c 100644 --- a/swh/__init__.py +++ b/swh/__init__.py @@ -1,9 +1,9 @@ # Copyright (C) 2021 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 pkgutil import extend_path -from typing import Iterable +from typing import List -__path__: Iterable[str] = extend_path(__path__, __name__) +__path__: List[str] = extend_path(__path__, __name__)