Commit Graph

153 Commits

Author SHA1 Message Date
Samuel Colvin eeb5698e75 funky test with create_model 2018-02-06 17:01:55 +00:00
Samuel Colvin 2b8216ab72 remove use of ordered dict (#126)
* remove use of ordered dict

* add history
2018-02-06 15:45:17 +00:00
Samuel Colvin 9c138a95b8 uprev 2018-02-06 15:19:01 +00:00
Samuel Colvin e3444ba7c2 remove .values() from model 2018-02-06 14:40:13 +00:00
Samuel Colvin c18b2bc4fc rename config -> __config__ on a model 2018-02-06 14:39:38 +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
Samuel Colvin f0fda8c2a4 upgrade pytest-sugar 2018-02-06 13:50:49 +00:00
Samuel Colvin 423137cefe allow pything dates and times (#122)
* allow pything dates and times

* update history
2018-02-01 17:20:06 +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
pyup.io bot 960a025110 Scheduled monthly dependency update for January (#111)
* Update mypy from 0.550 to 0.560

* Update pytest from 3.3.0 to 3.3.1
2018-01-03 14:29:53 +00:00
pyup.io bot d9acb85e69 Scheduled monthly dependency update for December (#108)
* Update coverage from 4.4.1 to 4.4.2

* Update mypy from 0.540 to 0.550

* Update pytest from 3.2.3 to 3.3.0
2017-12-08 10:28:23 +00:00
Samuel Colvin a8216e37f6 correct history 2017-11-26 17:34:52 +00:00
Samuel Colvin bf80464f28 allow direct install, fix #106 (#107) 2017-11-26 16:27:15 +00:00
Samuel Colvin f6c94e611e remove unused apt from travis (#104) 2017-11-13 15:32:50 +00:00
Samuel Colvin bc931ba790 safe check for complex models with env settings 2017-11-13 15:12:23 +00:00
Samuel Colvin 7050654062 better tests for validator checks 2017-11-08 15:39:44 +00:00
Samuel Colvin ed2b3f2afd errors for invalid validator use 2017-11-08 15:36:19 +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 ae6f5e7192 prevent duplicate validators (#101)
* prevent duplicate validators

* uprev and history
2017-11-08 13:53:14 +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
Samuel Colvin 1077a884ac fix benchmarks 2017-11-06 15:19:16 +00:00
Samuel Colvin cc1dbeabb5 updating history.rst 2017-11-06 13:43:25 +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 42e2c06896 update history 2017-10-23 20:07:58 +01: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 13300cd8c6 add .pyup.yml, tweak setup 2017-10-23 16:06:16 +01:00
pyup.io bot 06d971ae4d Update flake8 to 3.5.0 (#88)
* Update flake8 from 3.4.1 to 3.5.0

* fix linting with flake8 3.5
2017-10-23 15:35:56 +01:00
Samuel Colvin 6f3ceb07d5 uprev sphinxcontrib-spelling 2017-10-23 15:32:05 +01:00
Mickaël Guérin 1d9a337f70 Add Toasted Marshmallow Benchmark (#85)
https://github.com/lyft/toasted-marshmallow

As said in the README of this project :
Toasted Marshmallow implements a JIT for marshmallow that speeds up
dumping objects 10-25X (depending on your schema). Toasted Marshmallow
allows you to have the great API that Marshmallow provides without
having to sacrifice performance!
2017-10-23 15:26:51 +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 7407f9703a Update mypy from 0.530 to 0.540 (#84) 2017-10-23 15:20:47 +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 5b37e7b856 Update pytest-mock from 1.6.2 to 1.6.3 (#77) 2017-10-10 20:08:22 +01:00
pyup.io bot d19e1422e6 Update pytest from 3.2.1 to 3.2.3 (#79) 2017-10-10 20:07:58 +01:00
pyup.io bot 1dff0df7e8 Update mypy from 0.521 to 0.530 (#80) 2017-10-10 20:07:48 +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 de9fd8a4db Update pyflakes from 1.5.0 to 1.6.0 (#75) 2017-08-15 22:14:58 +01:00
pyup.io bot 32184df4cf Update docutils from 0.13.1 to 0.14 (#69) 2017-08-15 21:51:20 +01:00
pyup.io bot 18031f5964 Update pytest from 3.1.3 to 3.2.1 (#72) 2017-08-15 21:51:01 +01:00
pyup.io bot 6d7b2f60a9 Update pytest-sugar from 0.8.0 to 0.9.0 (#73) 2017-08-15 21:50:51 +01:00
pyup.io bot b81b8b1f26 Update flake8 from 3.4.0 to 3.4.1 (#67) 2017-07-29 17:27:23 +01:00
pyup.io bot 2c9b95de6e Update mypy from 0.520 to 0.521 (#63) 2017-07-28 10:35:46 +01:00
pyup.io bot fb8c2505b6 Update flake8 from 3.3.0 to 3.4.0 (#66) 2017-07-28 10:34:32 +01:00
pyup.io bot b2a5909a11 Update pytest-mock from 1.6.0 to 1.6.2 (#62) 2017-07-17 20:42:51 +01:00