diff --git a/requirements-test.txt b/requirements-test.txt index 1287d379..1f17172a 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,10 +1,13 @@ pytest pytest-django pytest-mock swh.scheduler[testing] swh.loader.core[testing] pytest-postgresql >= 2.1.0, < 3.0 requests_mock django-stubs djangorestframework-stubs >= 1.4 django-test-migrations + +types-requests +types-pyyaml 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__)