pylint-bot / pylint-unofficial

UNOFFICIAL playground for pylint github migration
0 stars 0 forks source link

Support py3.5 style typing annotations #647

Open pylint-bot opened 9 years ago

pylint-bot commented 9 years ago

Originally reported by: Anonymous


In the very least it would be nice to force type assertions on function arguments (i.e. this is definitely a string)

Would also be cool to support them in py2 via backports.typing or typing packages. The py2 version could even be nice enough to support multiple @annotations decorators for overloads as defined in https://www.python.org/dev/peps/pep-0484/#stub-files .


pylint-bot commented 9 years ago

Original comment by Florian Bruhin (BitBucket: The-Compiler, GitHub: @The-Compiler?):


Also see https://bitbucket.org/logilab/astroid/issues/153/investigate-the-use-of-typingpy

pylint-bot commented 9 years ago

Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):


That's in our roadmap, but it will not happen very soon. There aren't many libraries (or code) which can use PEP 484 annotations, so it's not as urgent as it may seem.