Apart from whether or not pyflakes intends to support type hinting, it currently marks it as a syntax error (on arguments and return types):
def echo(arg: str) -> str: return arg
It marks invalid syntax at the first colon, and at the dash if the type hint on argument is removed.
Apart from whether or not pyflakes intends to support type hinting, it currently marks it as a syntax error (on arguments and return types):
def echo(arg: str) -> str:
return arg
It marks invalid syntax at the first colon, and at the dash if the type hint on argument is removed.