Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123239
D3497.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D3497.id.diff
View Options
diff --git a/swh/__init__.py b/swh/__init__.py
--- a/swh/__init__.py
+++ b/swh/__init__.py
@@ -1,4 +1,9 @@
+# Copyright (C) 2016-2020 The Software Heritage developers
+# See the AUTHORS file at the top-level directory of this distribution
+# License: GNU General Public License version 3, or any later version
+# See top-level LICENSE file for more information
+
from pkgutil import extend_path
from typing import Iterable
-__path__ = extend_path(__path__, __name__) # type: Iterable[str]
+__path__: Iterable[str] = 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,9 @@
+# Copyright (C) 2016-2020 The Software Heritage developers
+# See the AUTHORS file at the top-level directory of this distribution
+# License: GNU General Public License version 3, or any later version
+# See top-level LICENSE file for more information
+
from pkgutil import extend_path
from typing import Iterable
-__path__ = extend_path(__path__, __name__) # type: Iterable[str]
+__path__: Iterable[str] = extend_path(__path__, __name__)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 4:27 AM (1 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220174
Attached To
D3497: Explicit types in __init__ files
Event Timeline
Log In to Comment