googleapis / googleapis/google-cloud-python

Adding type hints so static analyzers like mypy can work with google.cloud.storage

Ouverte
#15,987 9 commentaires 112 réactions 1 personne assignée Réclamée par @nidhiii-27 Voir sur GitHub
api: storage priority: p3 type: feature request
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
122

Description

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
Tools like mypy can use type hints to run static analysis on your code to find bugs in incorrect type usage.
**Describe the solution you'd like**
Mypy requires type hints to be exported by the library, either as part of the library and exported per [PEP 484](https://www.python.org/dev/peps/pep-0484/), or as a separate stubs library per [PEP 561](https://www.python.org/dev/peps/pep-0561/).
**Describe alternatives you've considered**
Currently we're ignoring all typing information for this library.
**Additional context**

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.