Commit Graph

43 Commits

Author SHA1 Message Date
Samuel Colvin a8096959e2 check for invalid validators (#140)
* check for invalid validators

* documentation and history
2018-03-25 16:41:48 +01:00
Samuel Colvin 76db984cc1 prepare for new version update history 2018-03-25 15:54:18 +01:00
pyup.io bot 27887c6e99 Scheduled monthly dependency update for March (#134)
* Update sphinx from 1.6.6 to 1.7.1

* Update msgpack-python from 0.5.1 to 0.5.5

* Update coverage from 4.4.2 to 4.5.1

* Update isort from 4.3.0 to 4.3.4

* Update pytest from 3.4.0 to 3.4.1

* Update pytest-mock from 1.6.3 to 1.7.1

* correcting runtime for netlify
2018-03-02 13:29:19 +00:00
Samuel Colvin 89201f08b0 add wildcard validators (#128)
* add wildcard validators

* update docs and history

* more tests

* history links
2018-02-06 19:32:30 +00:00
Samuel Colvin 7a77d06058 add use_enum_values to config (#127)
* add `use_enum_values` to config

* docs and history
2018-02-06 18:23:41 +00:00
Samuel Colvin f9cf6b42f4 Create model method (#125)
* adding create_model method

* adding  method

* docs and tweaks

* prevent config and base together

* tweak docs
2018-02-06 14:29:56 +00:00
Josep Cugat 06008146fe Subclass abcmeta (#123)
* Added compatibility with python's ABC

* Added documentation

* Added link
2018-02-06 13:56:45 +00:00
pyup.io bot c17abac2f8 Scheduled monthly dependency update for February (#121)
* Update sphinx from 1.6.5 to 1.6.6

* Update msgpack-python from 0.4.8 to 0.5.1

* Update isort from 4.2.15 to 4.3.0

* Update pytest from 3.3.1 to 3.4.0
2018-02-01 17:05:55 +00:00
Samuel Colvin acf3128dcd Validator always (#102)
* validators called always, fix #100

* testing validate always validators

* adding docs
2017-11-08 14:37:01 +00:00
Samuel Colvin 050dbb191b tweak docs 2017-11-07 13:31:23 +00:00
Samuel Colvin 91f962e533 replace values() with dict() (#99)
* replace values(), with dict(), fix #98

* add history and test
2017-11-07 13:28:42 +00:00
Samuel Colvin dfc5924936 Better validators (#97)
* working on improved validators

* full tests for validators

* tweask

* tweaking fields.py

* adding docs

* add history

* fix classmethod validators
2017-11-07 13:06:44 +00:00
Samuel Colvin 02dc2f2697 allow json env vars (#96)
* allow json env vars

* add docs
2017-11-07 11:26:16 +00:00
petroswork fe8031703b Perform validation on assignment to attribute (#94)
* Perform validation on assignment to attribute

* Add config variable "validate_assignment" defaulting to False.
* Add unit test.

* Add non-empty second parameter to fields.validate

* Improved tests per maintainer's suggestions.

* Improved tests.

* Add documentation in index.rst
2017-10-31 20:04:40 +00:00
Samuel Colvin b10566841e Less verbose errors (#90)
* make errors less verbose, fix #71

* remove track too if null

* update docs

* better dict error, fix #74

* add history
2017-10-23 20:06:48 +01:00
Samuel Colvin 7c9c0d46aa fix toastedmarshmallow benchmarks and add marshmallow benchmarks (#91)
* fix toastedmarshmallow benchmarks and add marshmallow benchmarks

* format benchmarks better

* add runtime for netlify

* remove sphinxcontrib-spelling==4.0.1

* remove docs linting

* adding benchmarks section to docs
2017-10-23 19:53:35 +01:00
Samuel Colvin 5cf23fb415 Uuid type (#89)
* adding UUID validator, fix #65

* add docs

* uprev
2017-10-23 19:49:52 +01:00
Samuel Colvin 6f3ceb07d5 uprev sphinxcontrib-spelling 2017-10-23 15:32:05 +01:00
pyup.io bot 7497a6b102 Update sphinx from 1.6.4 to 1.6.5 (#87) 2017-10-23 15:22:05 +01:00
pyup.io bot 4ea7405dc9 Update sphinx from 1.6.3 to 1.6.4 (#82) 2017-10-10 20:26:37 +01:00
pyup.io bot f6bbee465b Update sphinxcontrib-spelling from 2.3.0 to 4.0.0 (#81) 2017-10-10 20:07:39 +01:00
pyup.io bot 32184df4cf Update docutils from 0.13.1 to 0.14 (#69) 2017-08-15 21:51:20 +01:00
Samuel Colvin 5efa54d80d annotation only fields first 2017-07-08 19:01:38 +01:00
Samuel Colvin 044fd42f4f parser methods (#58), fix #39
* working on parsers

* starting parse tests

* proper tests for parse

* adding parse docs

* tweaks and history

* add test for datetime direct, fix tests

* tweak docs
2017-07-08 18:39:24 +01:00
Samuel Colvin 98d5657406 use unicode ellipsis in truncate 2017-07-08 15:00:35 +01:00
pyup.io bot 3e5b6d1a3c Update sphinx from 1.6.2 to 1.6.3 (#56) 2017-07-03 16:04:28 +01:00
Samuel Colvin 92d7689271 Immutability part 2 (#53)
* add construct method, fix #48
* adding copy method
* adding pickle support, fix #40
* tweak copy and add fields copy test
* adding docs for immutability, values and copy
* add docs for pickle
2017-06-21 18:15:08 +01:00
Samuel Colvin bf1c501670 remove linkcheck from docs lint 2017-06-21 16:31:20 +01:00
Samuel Colvin 6923e5e677 models allowing immutability (#44)
* working on models allowing immutability, ref #38

* up complexity

* use noqa c901

* fixing fields with new processor

* allow_mutation config and tests

* uprev, history and docs

* fix typos
2017-06-13 09:52:47 +01:00
Samuel Colvin 678e6595bf uprev again ... yawwwwwn 2017-06-07 23:39:41 +01:00
Samuel Colvin ff3fa95eb0 convert values to a function, fix #28 (#43) 2017-06-07 22:40:09 +01:00
Samuel Colvin e945a2afcf use annotation only declaration in first example 2017-06-07 20:07:38 +01:00
Samuel Colvin c81ec9aeec add support for annotation only fields (#41)
* add support for annotation only fields, fix #34

* adding tests with mypy

* adding docs for mypy usage

* adding mypy failure test

* adding alias tests

* tweak mypy tests
2017-06-07 19:56:46 +01:00
Samuel Colvin affea7a45d cleaning up beginning of docs 2017-06-04 14:47:10 +01:00
Samuel Colvin 73262daaef correct .travis.yml, add word to wordslist 2017-06-04 14:27:17 +01:00
Samuel Colvin 2528ca7dd4 docs linting and improving first example 2017-06-04 14:00:47 +01:00
John Sandall 515c668ad7 s/documentation_tpyos/documentation_typos/ (#35)
* s/chocies/choices/

* s/elipisis/elipsis/
2017-06-04 02:58:17 +01:00
Thomas Grainger 02e49bc7c4 s/pyandtic/pydantic/ (#33) 2017-06-04 01:51:52 +01:00
Samuel Colvin 12820bad15 correct docs deploy 2017-06-03 22:26:09 +01:00
Theodore Dubois a9b8b68d9c Fix typo (#31) 2017-06-03 21:10:12 +01:00
Samuel Colvin 3627bad768 more docs usage examples 2017-06-03 17:45:49 +01:00
Samuel Colvin 7f50946722 adding more usage examples 2017-06-03 17:04:10 +01:00
Samuel Colvin 3c37ca1672 starting work on docs 2017-06-03 15:56:37 +01:00