pypi flake8-pyi 22.4.0

latest releases: 24.9.0, 24.6.0, 24.4.1...
2 years ago

Features:

  • Introduce Y036 (check for badly defined __exit__ and __aexit__ methods).
  • Introduce Y037 (Use PEP 604 syntax instead of typing.Union and typing.Optional).
    Contributed by Oleg Höfling.

Behaviour changes:

  • Expand Y035 to cover __match_args__ inside class definitions, as well as __all__
    in the global scope.

Bugfixes:

  • Improve Y026 check (regarding typing.TypeAlias) to reduce false-positive errors
    emitted when the plugin encountered variable aliases in a stub file.

Don't miss a new flake8-pyi release

NewReleases is sending notifications on new releases.