Skip to content

Release v3.3.1

Latest

Choose a tag to compare

@sco1 sco1 released this 29 Oct 23:43
97a4f37

[v3.3.1]

Fixed

  • Fix dispatch and typing.overload decorators only being recognized when they are the first decorator applied to a function
  • Fix errors being suppressed for any later function sharing a name with the closing definition of a typing.overload series, such as a same-named method of another class
  • Fix only the first definition in a series of typing.overload decorated functions being checked for missing annotations
  • Fix --respect-type-ignore treating a # type: ignore or # mypy: ignore-errors comment trailing code on the first line of a module as a module-level ignore
  • Fix incorrect locations reported for missing return annotations when certain common patterns are encountered, such as the closing line of the function definition containing a comment with a colon, or being followed by a comment or blank line