Add py.typed file. (#1395)

* Add py.typed file
This commit is contained in:
Nathan Hunt 2020-05-08 12:53:07 -04:00 committed by GitHub
parent 2082a325fd
commit 3de8524de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def get_long_description() -> str:
ext_modules=ext_modules,
packages=["blackd", "black", "blib2to3", "blib2to3.pgen2"],
package_dir={"": "src"},
package_data={"blib2to3": ["*.txt"]},
package_data={"blib2to3": ["*.txt"], "black": ["py.typed"]},
python_requires=">=3.6",
zip_safe=False,
install_requires=[

1
src/black/py.typed Normal file
View File

@ -0,0 +1 @@