diff --git a/requirements-test.txt b/requirements-test.txt --- a/requirements-test.txt +++ b/requirements-test.txt @@ -3,3 +3,7 @@ celery >= 4.3 hypothesis >= 3.11.0 swh.lister +types-click +types-flask +types-pyyaml +types-requests diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -5,15 +5,13 @@ attrs attrs-strict celery >= 4.3, != 5.0.3 -Click +click elasticsearch > 5.4 flask humanize pika >= 1.1.0 psycopg2 pyyaml +requests setuptools typing-extensions - -# test dependencies -# hypothesis diff --git a/swh/__init__.py b/swh/__init__.py --- 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__)