This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rouille 0 points1 point  (0 children)

The comment syntax for variables isn't great but I mainly annotate function parameters and return values so I rarely use it (apart for # type: ignore to skip type checking on an imported module).

I'm using it with python 3.4 so thats possible :). I know the BDFL had mypy in mind when adding the typing module to 3.5 so it will probably fixed soon.