From e4421caafeeb0236df19fe7b9233300727e1933b Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Tue, 27 Apr 2021 20:53:13 -0700 Subject: [PATCH] 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/ --- gitlab/py.typed | 0 setup.py | 1 + 2 files changed, 1 insertion(+) create mode 100644 gitlab/py.typed diff --git a/gitlab/py.typed b/gitlab/py.typed new file mode 100644 index 000000000..e69de29bb diff --git a/setup.py b/setup.py index 95390a6ca..d4bf24c8e 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ def get_version(): 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=[ 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