attrs/tests
Hynek Schlawack 2f6fd8516c
Add on_setattr hooks to attr.s and attr.ib (#660)
* Add on_setattr hooks to attr.s and attr.ib

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

* Add PR newsfragment

* Fix attr.s doc sig

* Make _DisableType private

* Mark setters.frozen as NoReturn

* Rename setters.DISABLE to setters.NO_OP to clarify its purpose

DISABLE sounds less purposeful and doesn't convey its meaning as well.

* Fix type

* Loosen up type for convert even further

* Tighten type a tiny bit
2020-07-20 12:43:10 +02:00
..
__init__.py Move test helpers into an utils module 2016-08-15 15:27:13 +02:00
strategies.py Tune down strategies a bit 2020-03-30 11:17:38 +02:00
test_annotations.py Fix default values that are not comparable with '==' (#586) 2019-10-15 06:56:12 +02:00
test_config.py Check type of set_run_validators' arg 2015-06-05 20:28:50 +02:00
test_converters.py Add and_ converter (#618) 2020-03-06 10:34:11 +01:00
test_dunders.py Add on_setattr hooks to attr.s and attr.ib (#660) 2020-07-20 12:43:10 +02:00
test_filters.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_funcs.py Split cmp into eq and order (#574) 2019-09-22 15:07:19 +02:00
test_functional.py Add on_setattr hooks to attr.s and attr.ib (#660) 2020-07-20 12:43:10 +02:00
test_init_subclass.py Be consistent in calling slotted classes slotted 2019-02-25 16:09:57 +01:00
test_make.py Add on_setattr hooks to attr.s and attr.ib (#660) 2020-07-20 12:43:10 +02:00
test_slots.py Add control to generate __[sg]etstate__ (#642) 2020-05-11 07:11:24 +02:00
test_validators.py Fix simple typo: passses -> passes (#601) 2019-11-19 15:13:45 +01:00
test_version_info.py Rename _version.py into _version_info.py 2019-10-02 16:12:03 +02:00
typing_example.py Add on_setattr hooks to attr.s and attr.ib (#660) 2020-07-20 12:43:10 +02:00
utils.py Fix attribute collection (#635) 2020-04-06 11:41:52 +02:00