diff --git a/requirements-test.txt b/requirements-test.txt index 789894e..555c601 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,6 +1,10 @@ pytest pytest-mock requests_mock swh-core[testing] swh-scheduler[testing] >= 0.5.0 swh-storage[testing] >= 0.10.6 +types-click +types-python-dateutil +types-pyyaml +types-requests diff --git a/swh/__init__.py b/swh/__init__.py index 397a357..90d8b04 100644 --- a/swh/__init__.py +++ b/swh/__init__.py @@ -1,9 +1,9 @@ -# Copyright (C) 2016-2020 The Software Heritage developers +# Copyright (C) 2016-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__) diff --git a/swh/loader/__init__.py b/swh/loader/__init__.py index 397a357..90d8b04 100644 --- a/swh/loader/__init__.py +++ b/swh/loader/__init__.py @@ -1,9 +1,9 @@ -# Copyright (C) 2016-2020 The Software Heritage developers +# Copyright (C) 2016-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__)