pypi flake8-pyi 22.5.0

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

Features:

  • Introduce Y039: Use str instead of typing.Text for Python 3 stubs.
  • Teach the Y036 check that builtins.object (as well as the unqualified object) is acceptable as an annotation for an __(a)exit__ method argument.
  • Teach the Y029 check to emit errors for __repr__ and __str__ methods that return builtins.str (as opposed to the unqualified str).
  • Introduce Y040: Never explicitly inherit from object in Python 3 stubs.

Don't miss a new flake8-pyi release

NewReleases is sending notifications on new releases.