diff --git a/requirements-test.txt b/requirements-test.txt index 0e46a5a..b6a054d 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,5 +1,9 @@ pytest pytest-mock 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 index c99f97d..87ed09c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,17 @@ # Add here external Python modules dependencies, one per line. Module names # should match https://pypi.python.org/pypi names. For the full spec or # dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html 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 index f14e196..8d9f151 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__)