Tools for static type checking in Python

前端 未结 7 2010
灰色年华
灰色年华 2020-12-01 09:00

I\'m working with a large existing Python codebase and would like to start adding in type annotations so I can get some level of static checking. I\'m imagining something l

7条回答
  •  渐次进展
    2020-12-01 09:30

    I don't know if this helps but for what it's worth, Jeremy Siek at U of Colorado did some work on gradual typing, and I found this doing a quick search. http://www.wiki.jvmlangsummit.com/pdf/28_Siek_gradual.pdf

    My guess (I might be wrong) is there isn't any promising open source tools you can find at the moment since his research looks relatively new.

    Your best bet might be to contact the authors and ask if they can release their code to you.

提交回复
热议问题