Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124131
D6857.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
415 B
Subscribers
None
D6857.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
@@ -45,7 +45,7 @@
db
http
deps =
- mypy
+ mypy==0.920
commands =
mypy swh
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 6:22 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216482
Attached To
D6857: Pin mypy and drop type annotations which makes mypy unhappy
Event Timeline
Log In to Comment