python-beartype

Edit Package python-beartype
No description set
Refresh
Refresh
Source Files
Filename Size Changed
beartype-0.17.0.tar.gz 0001127446 1.08 MB
python-beartype.changes 0000008936 8.73 KB
python-beartype.spec 0000002701 2.64 KB
Revision 9 (latest revision is 12)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1144712 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 9)
- update to 0.17.0:
  * Emit non-fatal warnings on type-checking violations? Yup. We got
    that. Grep violation_*type, then win.
  * Raise custom exception types on type-checking violations? We got
    that, too. violation_*type grepping intensifies.
  * Raise custom exception messages on type-checking violations? Got
    that. __instancecheck_str() enters the chat emboldened and
    swaggering.
  * Modify the verbosity of type-checking violation messages? Got
    that. violation_verbosity + BeartypeVerbosity is snickering in the
    back.
  * Reduce complex type hints to simple type aliases in type-checking
    violations? That is a thing now. type {name} = {hard_stuff} |
    {moar_stuff}.
  * Blatantly lie about the types your API expects by instructing
    @beartype to internally transform source to target type hints
    matching various patterns with type hint overrides? You know we
    even got that. hint_overrides + BeartypeHintOverrides. It's best
    not to question this stuff.
Comments 0
openSUSE Build Service is sponsored by