madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add py.typed file. (#1395)
authorNathan Hunt <neighthan.hunt@gmail.com>
Fri, 8 May 2020 16:53:07 +0000 (12:53 -0400)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 16:53:07 +0000 (09:53 -0700)
* Add py.typed file

setup.py
src/black/py.typed [new file with mode: 0644]

index 3d14fd425fbbbc7ff5c2b3828f31d3482254922d..44f83928e5c66e9f81b0d01d4b8cdf6e6ff0ac33 100644 (file)
--- 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 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+