Commit Graph

71 Commits

Author SHA1 Message Date
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
pyup.io bot 1cc2142d4e Update mypy from 0.511 to 0.520 (#60) 2017-07-10 23:28:29 +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 8d5fadb2e8 constr None, fix #59 2017-07-08 18:30:13 +01:00
Samuel Colvin 378c96888e simplifying errors 2017-07-08 18:22:57 +01:00
Samuel Colvin 98d5657406 use unicode ellipsis in truncate 2017-07-08 15:00:35 +01:00
Samuel Colvin d8ac3f528b inheritance and config, fix #55 2017-07-08 13:48:32 +01:00
Samuel Colvin 61d23b2796 show incorrect length in string validation error 2017-07-06 16:14:02 +01:00
pyup.io bot 6f828397bb Update pytest from 3.1.2 to 3.1.3 (#57) 2017-07-06 15:39:33 +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 53ba356158 stricter str validation (#52)
* inheritance bug, fix #49

* stricter str validation, fix #45

* couple for test cases

* adding StrictStr
2017-06-21 17:59:58 +01:00
Samuel Colvin dfcc199769 inheritance bug, fix #49 2017-06-21 14:58:13 +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
pyup.io bot 85795a7080 Update pytest from 3.1.1 to 3.1.2 (#46) 2017-06-09 20:29:21 +01:00
Samuel Colvin 56662690c7 correct tag check, fix pypi deploy 2017-06-07 23:08:34 +01:00
Samuel Colvin ff3fa95eb0 convert values to a function, fix #28 (#43) 2017-06-07 22:40:09 +01:00
Samuel Colvin 691b947576 add pretty print for models (#42) 2017-06-07 20:34:13 +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 2528ca7dd4 docs linting and improving first example 2017-06-04 14:00:47 +01:00
Samuel Colvin 3627bad768 more docs usage examples 2017-06-03 17:45:49 +01:00
Samuel Colvin 45cba8b1ae fixing isort, adding deploy recipe 2017-06-03 16:18:02 +01:00
Samuel Colvin ea88afb212 allow aliases 2017-05-31 13:41:53 +01:00
Samuel Colvin 9ecae91dad allow Any, fix #21 2017-05-31 12:07:29 +01:00
Samuel Colvin 94402d0627 allow set validation, fix #17 2017-05-31 11:59:41 +01:00
Samuel Colvin 0757af6e5e make values recursive, fix #24 2017-05-31 11:44:31 +01:00
Samuel Colvin 1eca45ae11 implementing allow_extra (#26)
* implementing allow_extra

* tests for allow_extra
2017-05-31 11:19:25 +01:00
pyup.io bot e0bbb668e3 Update pytest from 3.0.7 to 3.1.0 (#23) 2017-05-30 18:23:24 +01:00
pyup.io bot 9cceb76ca0 Update coverage from 4.4 to 4.4.1 (#20) 2017-05-23 17:10:22 +01:00
pyup.io bot 647859ec05 Update pytest-cov from 2.5.0 to 2.5.1 (#19) 2017-05-23 17:10:13 +01:00
Samuel Colvin 21aa4a383b renaming Module > PyObect, fix #9 2017-05-23 17:01:34 +01:00
Samuel Colvin 90a2b6bfe3 fix enum validators ignore_extra on settings, fix #13 2017-05-11 22:19:11 +01:00
Samuel Colvin 35add310cc improve error display 2017-05-10 12:43:29 +01:00
Samuel Colvin 25acde90d3 Merge pull request #6 from samuelcolvin/pyup-update-pytest-cov-2.4.0-to-2.5.0
Update pytest-cov to 2.5.0
2017-05-10 11:22:47 +01:00
Samuel Colvin ddb8e96401 allow tuples, also infer types for falsy, fix #11 2017-05-10 11:17:07 +01:00
pyup-bot 136b6e706e Update pytest-cov from 2.4.0 to 2.5.0 2017-05-10 00:26:29 +01:00
Samuel Colvin 5cedb3e8e1 cleaner support for deep use of typing types 2017-05-09 15:40:01 +01:00
Samuel Colvin 30b54e70bd fixing recursive use of typing objects 2017-05-09 14:29:11 +01:00
Samuel Colvin 460feaee75 fixing fully recursive fields 2017-05-09 13:18:40 +01:00
Samuel Colvin cd37ad635c working on recursive fields 2017-05-09 12:21:08 +01:00
Samuel Colvin 242995beb6 simplify Union field choice 2017-05-08 19:08:16 +01:00
Samuel Colvin 24b9fdcd86 removing 'validator' from exception message 2017-05-08 17:43:39 +01:00
Samuel Colvin 11ea624e62 add int size validation 2017-05-08 17:25:44 +01:00
Samuel Colvin 40ab259090 Merge pull request #2 from samuelcolvin/pyup-update-coverage-4.3.4-to-4.4
Update coverage to 4.4
2017-05-08 16:00:24 +01:00
Samuel Colvin d6edca642a allow None as value in None fields 2017-05-08 12:34:20 +01:00
Samuel Colvin 017d3f03be BaseModel equality 2017-05-08 11:59:49 +01:00
Samuel Colvin 3673c11d53 improving coverage 2017-05-08 11:54:43 +01:00