diff --git a/requirements-test.txt b/requirements-test.txt index c6a0316d..67e0830d 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,9 +1,13 @@ hypothesis >= 3.11.0 pytest pytest-mock # pytz is in fact a dep of swh.model[testing] and should not be necessary, but # the dep on swh.model in the main requirements-swh.txt file shadows this one # adding the [testing] extra. swh.model[testing] >= 0.0.50 pytz pytest-xdist +types-python-dateutil +types-pytz +types-pyyaml +types-requests diff --git a/swh/__init__.py b/swh/__init__.py index f14e1965..8d9f1510 100644 --- a/swh/__init__.py +++ b/swh/__init__.py @@ -1,4 +1,4 @@ from pkgutil import extend_path -from typing import Iterable +from typing import List -__path__ = extend_path(__path__, __name__) # type: Iterable[str] +__path__: List[str] = extend_path(__path__, __name__)