Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123891
D6854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
422 B
Subscribers
None
D6854.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/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -31,7 +31,7 @@
extras =
testing
deps =
- mypy
+ mypy==0.920
commands =
mypy swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 5:46 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221830
Attached To
D6854: Drop unnecessary type annotation to fix mypy 0.920 issue
Event Timeline
Log In to Comment