Skip to content

22.8.0

Choose a tag to compare

@AlexWaygood AlexWaygood released this 02 Aug 07:29
baa0ab5

New error codes:

  • Y046: Detect unused Protocols.
  • Y048: Function bodies should contain exactly one statement.

Bugfixes:

  • Improve error message for the case where a function body contains a docstring
    and a ... or pass statement.

Other changes:

  • Pin required flake8 version to <5.0.0 (flake8-pyi is not currently compatible with flake8 5.0.0).