Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312562
D5834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
905 B
Subscribers
None
D5834.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 10:57 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224613
Attached To
D5834: mypy: Fix errors with v0.900 release
Event Timeline
Log In to Comment