Hacker News new | ask | show | jobs
by tveita 4488 days ago
PyCharm will read simple type annotations like

  def get_error_message(error_code: int) -> string:
      ...
and use them for autocompletion hints and type warnings.