Skip to content

25.5.0

Latest
Compare
Choose a tag to compare
@AlexWaygood AlexWaygood released this 25 May 17:21
· 1 commit to main since this release
6051cb1

New error codes:

  • Introduce Y067: Don't use Incomplete | None = None.
  • Introduce Y091: Protocol method parameters should not be positional-or-keyword.

Other changes:

  • Y011/Y015 will now allow all defaults that include an attribute access, for example math.inf or enum members.
  • Development-only dependencies are now declared using dependency groups rather than optional dependencies.
  • The plugin now exists as a flake8_pyi package rather than a single pyi.py file.
  • Declare support for Python 3.14