pypi flake8-pyi 22.4.1

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

Features:

  • Expand Y027 check to prohibit importing any objects from the typing module that are aliases for objects living in collections.abc (except for typing.AbstractSet, which is special-cased).
  • Introduce Y038: Use from collections.abc import Set as AbstractSet instead of from typing import AbstractSet.

Bugfixes:

  • Improve inaccurate error messages for Y036.

Don't miss a new flake8-pyi release

NewReleases is sending notifications on new releases.