3 ms·
Yep, I've used this pretty successfully, the ideal is to run it under realistic prod traffic over time to capture as many types as can flow into a given functio
by EdwardDiego 1y ago
Yep, I've used this pretty successfully, the ideal is to run it under realistic prod traffic over time to capture as many types as can flow into a given function, but a good set of unit/integration tests can also provide good coverage.
And if you re-use the same type store (SQLite DB) across multiple instrumented runs, you can further improve it.
https://github.com/Instagram/MonkeyType https://github.com/Instagram/MonkeyType
- emeryberger 1y agoRightTyper is much better in addition to running orders of magnitude faster. https://github.com/RightTyper/RightTyper https://github.com/RightTyper/RightTyper (full disclosure, I am one of its authors).
- EdwardDiego 1y agoI'll look into it, cheers!
- EdwardDiego 1y agoJust looking at the README, I'm very excited as I have a Hackathon coming up and I am looking to bring more type love to a legacy Django codebase, and was going to utilise MonkeyType again, but this time I'll use this!