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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy