github beartype/beartype v0.5.1
beartype v0.5.1

latest releases: v0.18.5, v0.18.4, v0.18.3...
3 years ago

Beartype 0.5.1 released.

This stable release significantly improves our front-facing README.rst as well as resolving an unrelated suite of minor issues.

Specific changes include:

Documentation Improved

  • Overview commentary. The new top-level Overview section better outlines beartype's various tradeoffs, advantages, and disadvantages versus competing type checkers.
  • Decorator commentary. The new top-level Decorator section documents code generated by @beartype under real-world use cases.
  • Developer commentary. The new top-level Developer section assists other developers in contributing to @beartype.

Issues Resolved

  • Deeply ignorable new types. @beartype now correctly ignores calls to typing.NewType passed ignorable type hints rather than merely object.
  • PEP 544-compliant protocol detection. @beartype now reports all builtin types (e.g., int) to not be PEP 544-compliant protocols, despite a proper subset of builtin types erroneously claiming to be PEP 544-compliant protocols for strange and probably spurious reasons.

Tests Improved

  • Python 3.9 exercised under CI. Our GitHub Actions-based continuous integration (CI) configuration now correctly exercises itself against Python 3.9 by explicitly passing the --skip-missing-interpreters=false CLI option to force CI failures when one or more Python environments are unavailable, resolving the upstream tox-dev/tox#903 issue for @beartype.

(Fastidious fast tracks blast perfidious racks!)

Don't miss a new beartype release

NewReleases is sending notifications on new releases.