diff --git a/requirements-http.txt b/requirements-http.txt index b09e6fb..4c37acc 100644 --- a/requirements-http.txt +++ b/requirements-http.txt @@ -1,8 +1,9 @@ # requirements for swh.core.api aiohttp aiohttp_utils >= 3.1.1 Flask iso8601 msgpack >= 1.0.0 requests blinker # dependency of sentry-sdk[flask] +types-Flask diff --git a/requirements-test.txt b/requirements-test.txt index 1b64663..4863c62 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,6 +1,7 @@ pytest pytest-mock requests-mock hypothesis >= 3.11.0 pre-commit pytz +types-pytz diff --git a/requirements.txt b/requirements.txt index 7c16399..a00763e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,7 @@ Click Deprecated PyYAML sentry-sdk +types-click +types-PyYAML +types-requests 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__)