google / google/slo-generator

Annotate code with type hints

Open
#232 2 comments 0 reactions 1 assignee Claimed by @lvaylet View on GitHub
feature good first issue
Dominant language
Python
Stars
564
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Type hints help catch certain errors, document the code base, help static analyzers (like [mypy](http://mypy-lang.org/) or Google's [pytype](https://github.com/google/pytype)) and linters in IDEs, and let us build and maintain a cleaner architecture overall.

Annotations can be done iteratively over multiple, small Pull Requests, based on the docstrings already in place. Type hints can be tested with local installations of mypi or pytype until these static analyzers are integrated in the CI pipelines.

See https://docs.python.org/3/library/typing.html for more details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.