Skip to content

Commit

Permalink
Add py.typed file for PEP 561 compliance
Browse files Browse the repository at this point in the history
https://www.python.org/dev/peps/pep-0561/
https://mypy.readthedocs.io/en/latest/installed_packages.html
python-poetry/poetry#1338

The py.typed file indicates that this package supplies type information.
py.typed is not yet supported by Poetry (python-poetry/poetry#1338), so
it may not show up in the built package yet.
  • Loading branch information
br3ndonland committed Sep 12, 2020
1 parent 78a5819 commit 2af1ffa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file added inboard/py.typed
Empty file.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ authors = ["Brendon Smith <br3ndonland@protonmail.com>"]
license = "MIT"
homepage = "https://github.com/br3ndonland/inboard"
readme = "README.md"
include = ["inboard/py.typed"]

[tool.poetry.dependencies]
python = "^3.8"
Expand Down

0 comments on commit 2af1ffa

Please sign in to comment.