Page MenuHomeSoftware Heritage

D5834.diff
No OneTemporary

D5834.diff

diff --git a/requirements-test.txt b/requirements-test.txt
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -10,3 +10,6 @@
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
--- 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
--- 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__)

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 2, 10:57 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224613

Event Timeline