IssueRaiser

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

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**

Posted by maroux on Mar 9, 2021, 10:30 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

support (Software)

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

marouxMar 9, 2021, 10:30 PM

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**

Comments (0)

No comments yet. Start the discussion.

Comment on this issue