Search
Search copied to clipboard
Type annotate existing code
🚀 Feature
I think we can incrementally start annotating existing code. It shouldn't really take that long and it could be a really nice way to practice and learn about typing.
Pitch
The more code we annotate the more powerful the typechecking will become.
Alternatives
The alternative is to do nothing and just add types to new code as agreed.
Hi @jankrepl , is this Issue something that you would like to be "Done" in a PR?
Concerning the incremental type annotation of code, do you suggest to do something different from what we already have in our PR Checklist (see here)?
- [ ] Type annotations added. (if a function is added or modified)
@FrancescoCasalegno The wording of this issue is actually really confusing. What I meant is type annotating our entire existing codebase. By incrementally I meant that this can be split up into multiple smaller PRs (annotate module_1.py, annotate module_2.py, etc..)