pypi flake8-pyi 23.3.1

latest releases: 24.6.0, 24.4.1, 24.4.0...
18 months ago

New error codes:

  • Y053: Disallow string or bytes literals with length >50 characters. Previously this rule only applied to parameter default values; it now applies everywhere.
  • Y054: Disallow numeric literals with a string representation >10 characters long. Previously this rule only applied to parameter default values; it now applies everywhere.

Other changes:

  • Y011/Y014/Y015: Simple container literals (list, dict, tuple and set literals) are now allowed as default values.
  • Y052 is now emitted more consistently.
  • Some things that used to result in Y011, Y014 or Y015 being emitted now result in Y053 or Y054 being emitted.

Don't miss a new flake8-pyi release

NewReleases is sending notifications on new releases.