Commit Graph

6 Commits

Author SHA1 Message Date
Hynek Schlawack f2dabeae82
Fix exception chaining on PyPy (#712)
* Fix exception chaining on PyPy

Fixes #703

* Add newsfragment

* Blankly exclude PyPy from coverage reporting

* Manually add default no cover marker
2020-11-04 11:02:15 +01:00
Hynek Schlawack 504eefe91f
NG: make frozen classes comfortably subclassable (#687)
* NG: make frozen classes comfortably subclassable

* Add newsfragment

* This ain't markdown

* Address review
2020-09-05 11:14:54 +02:00
David Euresti 4cfd52db51
Fix auto_attrib=None behavior when maybe_cls=None (#675)
* Fix auto_attrib=None behavior when maybe_cls=None

* Update tests/test_next_gen.py

Co-authored-by: David Euresti <github@euresti.com>

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2020-08-23 07:58:04 +02:00
Hynek Schlawack 358c85e74c
Fix auto-detection of eq/ne in NG APIs (#671)
Fixes #670
2020-08-21 05:19:15 +02:00
Hynek Schlawack fda437c91f
Add attr.field (#669)
* Add attr.field

* Add newsfragment

* better wordzzz

* Typo and clarification
2020-08-20 19:01:34 +02:00
Hynek Schlawack b02335f59d
Add attr.define/mutable/frozen (#666)
* Add attr.auto/mutable/frozen

Prepare for import attrs y'all!

Signed-off-by: Hynek Schlawack <hs@ox.cx>

* Try combining coverage using 3.8, always

* Add tests for overriding of auto_attribs

* Clarifications

* Add newsfragment

* s/auto/define

This is going be the next-gen name anyways, so no need to introduce new names.

Signed-off-by: Hynek Schlawack <hs@ox.cx>

* Missed two

* Add type stubs

* Beg for patience

* Explain second setup-python action

* fix comment
2020-08-17 16:22:33 +02:00