From 3de8524de66fbe4843538115f2b21704ffeb79b2 Mon Sep 17 00:00:00 2001 From: Nathan Hunt Date: Fri, 8 May 2020 12:53:07 -0400 Subject: [PATCH 1/1] Add py.typed file. (#1395) * Add py.typed file --- setup.py | 2 +- src/black/py.typed | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/black/py.typed diff --git a/setup.py b/setup.py index 3d14fd4..44f8392 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ setup( 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=[ diff --git a/src/black/py.typed b/src/black/py.typed new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/black/py.typed @@ -0,0 +1 @@ + -- 2.39.5