diff --git a/requirements-test.txt b/requirements-test.txt index c9e740d2..ec88a860 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,12 +1,15 @@ decorator # dependency of swh.core[http] djangorestframework-stubs django-stubs django-test-migrations hypothesis pytest pytest-django pytest-mock requests-mock != 1.9.0, != 1.9.1 swh.core[http] >= 0.0.95 swh.loader.git >= 0.8.0 swh.storage >= 0.1.1 +types-docutils +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__) diff --git a/swh/web/__init__.py b/swh/web/__init__.py index f14e1965..8d9f1510 100644 --- a/swh/web/__init__.py +++ b/swh/web/__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__)