Skip to content

Commit ad2a2ea

Browse files
fozcodesfozcodes
andauthored
feat: add py.typed marker for mypy users (#332)
This lib is pretty well typed, but MyPy doesn't know to look for the types by default. Adding a py.typed file will tell MyPy to look at the type hints in the package directly. It's a pretty simple add for some big gains! https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages Co-authored-by: fozcodes <[email protected]>
1 parent acfc39f commit ad2a2ea

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

schemachange/py.typed

Whitespace-only changes.

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ dev =
4040
pre-commit
4141
pyfakefs
4242
pytest
43+
44+
[options.package_data]
45+
schemachange = py.typed

0 commit comments

Comments
 (0)