News for hackers. Stuff that matters.
Re:Pyre: Fast Type Checking for Python by avbor on Friday May 11, 2018 @01:05PM (#17048971)
Instagram actually has a program for stubbing existing code called MonkeyType. It requires running your code to collect the data, and then after your run finishes you can then apply the new inferred types to your program.
Re:Pyre: Fast Type Checking for Python by mlevental on Friday May 11, 2018 @01:07PM (#17049004)
so like can i throw my entire django app at this thing and have it spit out types for me? probably not right?
Re:Pyre: Fast Type Checking for Python by mhlakhani on Friday May 11, 2018 @01:15PM (#17049086)
That's actually correct - it will spit out types it can infer. https://github.com/Instagram/MonkeyType
Re:Pyre: Fast Type Checking for Python by carapace on Friday May 11, 2018 @02:08PM (#17049544)
(Oh daaaamn that's cool!)