Hello!
Python3 is on track to getting type hints through annotations in functions, which TextMate doesn't recognize.
I've tried to modify the current regex to recognize this new piece of notation but I'm not that well versed enough in regex. Maybe someone more experienced with it could do it?
Here are the references for it: - https://www.python.org/dev/peps/pep-3107/ - https://www.python.org/dev/peps/pep-0484/
Cheers, Leandro