Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123887
D6853.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
723 B
Subscribers
None
D6853.diff
View Options
diff --git a/swh/__init__.py b/swh/__init__.py
--- a/swh/__init__.py
+++ b/swh/__init__.py
@@ -1,4 +1,3 @@
from pkgutil import extend_path
-from typing import List
-__path__: List[str] = extend_path(__path__, __name__)
+__path__ = extend_path(__path__, __name__)
diff --git a/swh/loader/__init__.py b/swh/loader/__init__.py
--- a/swh/loader/__init__.py
+++ b/swh/loader/__init__.py
@@ -1,4 +1,3 @@
from pkgutil import extend_path
-from typing import List
-__path__: List[str] = extend_path(__path__, __name__)
+__path__ = extend_path(__path__, __name__)
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -34,7 +34,7 @@
extras =
testing
deps =
- mypy!=0.920
+ mypy==0.920
commands =
mypy swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 5:41 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219395
Attached To
D6853: Pin mypy and drop type annotations which makes mypy unhappy
Event Timeline
Log In to Comment