attrs/docs
Kurt Rose 08b15877c7 Add matches_re validator (#552)
* matches

* added flags pass-through, and multiple function options; defaults to fullmatch

* move logic from validate to constructor

* cleaned up default args / fullmatch emulation

* fixed meta validator

* cleaned up default args / fullmatch emulation

* test cleanup

* versionadded tag

* added changelog entry

* cleaned up type checks, added to api docs and pyi type signature

* black formats

* black formatting

* 100% test coverage

* added example usage of matches_re to docs

* fixing py2 swallow type error and wrong quote in doctest

* explicit tests for all possible func args

* pragma no branch to get coverage 100%
2019-09-09 10:48:52 +02:00
..
_static More pre-commit, more 3.7, more linting, more stages 2018-11-24 13:36:20 +01:00
Makefile Gut docs for now 2015-01-27 23:03:04 +01:00
api.rst Add matches_re validator (#552) 2019-09-09 10:48:52 +02:00
backward-compatibility.rst Doc typo fixes (#56) 2016-08-15 10:00:23 +02:00
changelog.rst Repo janitoring 2015-12-08 15:47:03 +01:00
conf.py Use new alabaster feature to have rel bars 2018-06-19 12:49:25 +02:00
contributing.rst Clean up main directory a bit 2017-12-27 13:32:32 +01:00
docutils.conf Fix doc build on sphinx 1.6.1 2017-05-22 16:16:12 -07:00
examples.rst support custom repr() callable for attributes (#568) 2019-09-06 14:26:08 +02:00
extending.rst Remove code and tests related to deprecated 'convert' kwarg (#504) 2019-03-07 09:04:36 +01:00
glossary.rst Docs: clarify current behaviour/motivation for `slots=True` and autogeneration of __get/setstate__ (#521) 2019-07-20 12:27:09 +02:00
hashing.rst Improve documentation of safety constraints on hashable objects (#505) 2019-02-14 18:06:19 +01:00
how-does-it-work.rst Be consistent in calling slotted classes slotted 2019-02-25 16:09:57 +01:00
index.rst Add Python 2 statement (#498) 2019-02-10 07:32:19 +01:00
init.rst fix typo in docs (#534) 2019-05-26 13:03:03 +03:00
license.rst Fix links 2017-02-20 07:46:55 +01:00
overview.rst Prepare for narrative docs (#275) 2017-10-26 17:55:45 +02:00
python-2.rst Add Python 2 statement (#498) 2019-02-10 07:32:19 +01:00
types.rst Clarify that annotation-only doesn't work w/ decorators (#486) 2019-02-09 13:55:48 +01:00
why.rst Fix a bunch of links 2018-08-20 07:21:02 +02:00