Skip to content

Commit e4421ca

Browse files
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/
1 parent a6b6cd4 commit e4421ca

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

gitlab/py.typed

Whitespace-only changes.

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def get_version():
2727
url="https://github.com/python-gitlab/python-gitlab",
2828
packages=find_packages(),
2929
install_requires=["requests>=2.22.0", "requests-toolbelt>=0.9.1"],
30+
package_data = {'gitlab': ['py.typed'], },
3031
python_requires=">=3.6.0",
3132
entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]},
3233
classifiers=[

0 commit comments

Comments
 (0)