Skip to content

Commit dff9d32

Browse files
committed
Add type annotations to EntryPoint.name/value/group
This is required to fix typecheck false positive.
1 parent 56b071f commit dff9d32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

importlib_metadata/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ class EntryPoint(DeprecatedTuple):
189189
following the attr, and following any extras.
190190
"""
191191

192+
name: str
193+
value: str
194+
group: str
195+
192196
dist: Optional['Distribution'] = None
193197

194198
def __init__(self, name, value, group):

0 commit comments

Comments
 (0)