Skip to content

Commit 2212cb7

Browse files
ejguanfacebook-github-bot
authored andcommitted
Add type hint stub (#780)
Summary: Fixes #779 ### Changes - Add `py.typed` file stub - Include the file into package data Pull Request resolved: #780 Reviewed By: NivekT Differential Revision: D39620230 Pulled By: ejguan fbshipit-source-id: 0661c08bfdaad66a5e50506937d1339fb2865fec
1 parent 0b973a8 commit 2212cb7

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def remove_extension(pattern):
182182
],
183183
package_data={
184184
"torchdata": [
185+
"py.typed",
185186
"datapipes/iter/*.pyi",
186187
"datapipes/map/*.pyi",
187188
],

torchdata/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)