Skip to content

Commit

Permalink
Merge pull request #343 from intgr-forks/add-python-typing-marker
Browse files Browse the repository at this point in the history
Mark package as including typehints
  • Loading branch information
alanjds committed May 10, 2024
2 parents a5fc80b + fae1795 commit f87e2e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added rest_framework_nested/py.typed
Empty file.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_package_data(package):
for dirpath, dirnames, filenames in os.walk(package)
if not os.path.exists(os.path.join(dirpath, '__init__.py'))]

filepaths = []
filepaths = ['py.typed']
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
Expand Down

0 comments on commit f87e2e6

Please sign in to comment.