Commit Graph

23 Commits

Author SHA1 Message Date
Samuel Colvin 378c96888e simplifying errors 2017-07-08 18:22:57 +01:00
Samuel Colvin 61d23b2796 show incorrect length in string validation error 2017-07-06 16:14:02 +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 ff3fa95eb0 convert values to a function, fix #28 (#43) 2017-06-07 22:40:09 +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 0757af6e5e make values recursive, fix #24 2017-05-31 11:44:31 +01:00
Samuel Colvin 21aa4a383b renaming Module > PyObect, fix #9 2017-05-23 17:01:34 +01:00
Samuel Colvin 35add310cc improve error display 2017-05-10 12:43:29 +01:00
Samuel Colvin ddb8e96401 allow tuples, also infer types for falsy, fix #11 2017-05-10 11:17:07 +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 3673c11d53 improving coverage 2017-05-08 11:54:43 +01:00
Samuel Colvin 19faa546d8 tests for standard dict, list, OrderedDict types 2017-05-06 14:20:55 +01:00
Samuel Colvin 63197fc34b cleaning up error display, enabling list parsing 2017-05-06 14:10:40 +01:00
Samuel Colvin 0214be13a5 proper support for unions 2017-05-06 00:10:48 +01:00
Samuel Colvin af6ab2b7e5 add email address validation 2017-05-05 22:01:10 +01:00
Samuel Colvin 7950e7f909 enum support and better type check 2017-05-05 21:10:49 +01:00
Samuel Colvin e2d4460429 add 'allow_extra' checks 2017-05-05 20:26:14 +01:00
Samuel Colvin d27a520c38 add .editorconfig to fix isort 2017-05-05 20:02:41 +01:00
Samuel Colvin c859ec8543 adding datetime, date, time and timedelta validation 2017-05-05 19:59:25 +01:00
Samuel Colvin 7254ddc5e6 improve test coverage 2017-05-05 18:05:42 +01:00