Re: Static typing for python methods

2015-10-11 Thread Michael Manfre
Django can't include the inline type hinting syntax for many years, but we can add stub files. Keeping the stubs in sync with the code will be more effort and we'd want some sort of automated tooling to help with that, but I'm not opposed to adding stub files for the public APIs. Assuming no core d

Fwd: Static typing for python methods

2015-10-11 Thread John Michael Lafayette
Python now has static type checking. All you do is follow function parameters with ": paramType" and add "-> returnType" before the colon at the end of the function declaration and auto-complete will work on the return value in IntelliJ. Can you add the function parameter types and return types