diff options
author | John L. Villalovos <john@sodarock.com> | 2021-04-27 20:53:13 -0700 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2021-04-27 20:53:41 -0700 |
commit | e4421caafeeb0236df19fe7b9233300727e1933b (patch) | |
tree | 3f2b6cfb278c61d384066d97f008a5b6c0a05d32 | |
parent | a6b6cd4b598ab6eddcf3986486d43e5cdc990e09 (diff) | |
download | gitlab-e4421caafeeb0236df19fe7b9233300727e1933b.tar.gz |
feat: indicate that we are a typed package
By adding the file: py.typed
it indicates that python-gitlab is a typed package and contains
type-hints.
https://www.python.org/dev/peps/pep-0561/
-rw-r--r-- | gitlab/py.typed | 0 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/py.typed b/gitlab/py.typed new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/gitlab/py.typed @@ -27,6 +27,7 @@ setup( url="https://github.com/python-gitlab/python-gitlab", packages=find_packages(), install_requires=["requests>=2.22.0", "requests-toolbelt>=0.9.1"], + package_data = {'gitlab': ['py.typed'], }, python_requires=">=3.6.0", entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]}, classifiers=[ |