attrs/tests
Julian Berman 8824dc26c2 Add default_role for Sphinx. (#571)
* Add default_role for Sphinx.

Fix a bunch of broken refs along the way, which become
errors now via -W if you have default_role set.

In theory you can catch those via sphinx-build -n (i.e.
nitpick mode), which IMHO is a decent idea anyhow, but it's
a longer diff to enable that because it'd involve fixing a
bunch of the places that try to reference types that don't
exist (e.g. :type foo: Any value). But obviously can be done.

Also didn't actually use this anywhere yet (the any role),
but will do so in a follow-up if this is acceptable.

* Remove the roles from builtin objects to demo any.

* Style.

* Add z.i to intersphinx.

Enables the link to z.i.Interface.

* Enable nitpick mode.

Fix the remaining broken links or whitelist them via nitpick_ignore.

* Kill all :func:s.

* Kill all :class:es.

* Kill all :doc:s.

* Kill all :ref:s.

Except one, that probably meant :func:, and which
is a duplicate ref.

* Kill :exc: and :data:.

* Kill :mod:s.

* Kill new explicit refs from the merge.
2019-09-09 15:02:16 +02:00
..
__init__.py Move test helpers into an utils module 2016-08-15 15:27:13 +02:00
strategies.py Consistency for slotted classes 2019-03-21 09:38:32 -05:00
test_annotations.py Ensure that bare attributes with default None are removed too (#556) 2019-07-23 13:19:10 +02:00
test_config.py Check type of set_run_validators' arg 2015-06-05 20:28:50 +02:00
test_converters.py Implement attr.converters.default_if_none (#414) 2018-07-28 16:03:41 +01:00
test_dark_magic.py Make auto_exc=True classes hashable by ID (#563) 2019-08-19 20:03:44 +02:00
test_dunders.py support custom repr() callable for attributes (#568) 2019-09-06 14:26:08 +02:00
test_filters.py Fade to Black (#392) 2018-06-10 19:40:07 +02:00
test_funcs.py Remove some extraneous # noqa comments (#530) 2019-05-14 09:01:03 -04:00
test_init_subclass.py Be consistent in calling slotted classes slotted 2019-02-25 16:09:57 +01:00
test_make.py Stop comparing/ordering subclasses (#570) 2019-09-07 12:19:10 +02:00
test_slots.py Update closure cell rewriting to use CodeType.replace() on 3.8 (#562) 2019-08-08 07:57:33 +02:00
test_validators.py Add default_role for Sphinx. (#571) 2019-09-09 15:02:16 +02:00
typing_example.py Add example for matches_re typing 2019-09-09 11:11:50 +02:00
utils.py Cache hash codes (#426) 2018-08-20 06:46:52 +02:00