Python 3, an Illustrated Tour Transcripts
Chapter: Type Annotations
Lecture: 3rd-party tool summary
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In summary, these tools, they're all third-party tools, they are not in the standard library, I view a lot of them as works-in-progress.
0:08
They seem to do an okay job and especially the tracing ones will sort of get you off and running pretty quickly to add type information.
0:18
Pytype, I saw some errors in there and I tried to dig in a little bit then dig in too far with the errors that it was throwing.
0:27
Monkeytype, I also had some cases where it would throw errors on me. But remember, these are live projects and most of these have been updated
0:35
within the past month or so and so people are working on them. Keep an eye on them, they might be useful to add type information if you want them.
0:44
But again, if you just add types to your Python code, you're not going to get any benefit, you need to use some other tools
0:50
such as mypy to do some static validation of that.