Skip to content

Commit ca7fc41

Browse files
authored
feat: add PEP 561 compliance (typing in installed package) (#215)
In order for typing to work we need to mark package with py.typed file to comply with PEP 561 and let mypy and other tools know that typing should work with that package. See https://mypy.readthedocs.io/en/stable/installed_packages.html#using-installed-packages-with-mypy-pep-561
1 parent e796f04 commit ca7fc41

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
include *.txt
2+
global-include *.typed

openfoodfacts/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)