pypi flake8-pyi 25.5.0

3 months ago

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

Don't miss a new flake8-pyi release

NewReleases is sending notifications on new releases.