googleapis / googleapis/google-cloud-python

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

Đang mở
#15,987 9 bình luận 112 reaction 1 người được giao Được @nidhiii-27 nhận Xem trên GitHub
api: storage priority: p3 type: feature request
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
3 ngày 4 giờ
Pull request đã merge (30 ngày)
122

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.