Skip to content

Commit 7e30c24

Browse files
Add PEP 561 py.typed marker for type checker support
1 parent a5436d8 commit 7e30c24

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
include version.py
2+
include src/onepassword/py.typed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ def get_shared_library_data_to_include():
7171
"Programming Language :: Python :: 3.12",
7272
"Programming Language :: Python :: 3.13",
7373
"License :: OSI Approved :: MIT License",
74+
"Typing :: Typed",
7475
],
7576
cmdclass={"bdist_wheel": bdist_wheel},
76-
package_data={"": get_shared_library_data_to_include()},
77+
package_data={"": get_shared_library_data_to_include(), "onepassword": ["py.typed"]},
7778
install_requires=[
7879
"pydantic>=2.5", # Minimum Pydantic version to run the Python SDK
7980
],

src/onepassword/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)