summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixing Issue #359 and updated readmegh-pagestusharmakkar082018-09-0116-277/+1507
|
* Fixing merge conflictstusharmakkar082018-09-0114-326/+1276
|\
| * Fix open bug.Alec Thomas2018-08-052-2/+3
| | | | | | | | Python is annoying.
| * Use long_description_content_type='text/markdown' yay!Alec Thomas2018-08-052-11/+6
| |
| * 0.11.3Alec Thomas2018-08-052-11/+6
| |
| * 0.11.2Alec Thomas2018-08-051-1/+1
| |
| * Merge pull request #356 from svisser/update-changelog-0115Alec Thomas2018-08-021-0/+8
| |\ | | | | | | Updated changelog with 0.11.5 release
| | * Updated changelog with 0.11.5 releaseSimeon Visser2018-08-011-0/+8
| |/
| * Updated changelog with 0.11.3 releaseSimeon Visser2018-07-291-1/+18
| |
| * Fix date validatorRiccardo Cirimelli2018-07-192-6/+6
| |
| * Include path in AnyInvalid errorsJulien Danjou2018-07-062-3/+52
| | | | | | | | Fixes #347
| * Add support for Python 3.7Julien Danjou2018-07-064-7/+9
| | | | | | | | | | Also removes support for 3.4 and 3.5 since they are not available on Travis anymore.
| * Added support for sets and frozensets (#342)Simeon Visser2018-06-243-0/+165
| |
| * Drop support for Python 3.3 (#343)Simeon Visser2018-06-243-6/+1
| | | | | | Python 3.3 has reached end-of-life: https://devguide.python.org/#status-of-python-branches (2017-09-29)
| * Suggested practice for multi-field validationthatneat2018-06-231-0/+42
| | | | | | closes #124
| * Fix Python 3.x compatibility for setup.py (#332)Felix Yan2018-03-011-3/+3
| | | | | | | | | | | | | | | | | | | | Without the patch, setup.py fails to run under Python 3.x with pypandoc installed: ``` Traceback (most recent call last): File "setup.py", line 16, in <module> f.write(long_description) TypeError: write() argument must be str, not bytes ```
| * Use direct link to changelog to make it work on PyPISimeon Visser2018-02-171-1/+1
| |
| * 0.11.10.11.1Alec Thomas2018-02-153-4/+4
| |
| * Updated changelog to include changes merged after 0.10.5 releaseSimeon Visser2018-02-151-6/+26
| |
| * Modified __lt__ in Marker class.Mohammed Mohammed2018-02-144-1/+14
| | | | | | | | | | | | | | | | Marker class in /voluptuous/schema_builder.py needed to have the __lt__() function modified in order to compare against regular strings as well. This will allow the usage of Voluptuous Optional objects as keys in dicts alongside strings and int.
| * Added note about backward incompatible changeSimeon Visser2018-02-091-1/+1
| | | | | | The change in pull request #324 can be backward incompatible if a default value does not validate against the schema
| * Added validation for default valuesRobert Schindler2018-02-042-15/+22
| |
| * Link to pytest-voluptuous in README (#321)Tuukka Mustonen2018-01-121-0/+4
| |
| * Replace Maybe class with a functionJulien Danjou2018-01-012-12/+3
| | | | | | | | | | The Any class can be compiled by voluptuous whereas Maybe cannot. Since it's just an alias to Any(None, v), replace it with that directly.
| * Implement nested schema support and validators compilation (#318)Julien Danjou2017-12-264-45/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow to use nested schema This allows to refer to the current schema using voluptuous.Self and have nested definitions. Fixes #128 * Allow any validator to be compiled This allows any validator to be compiled by implementing the __voluptuous_compile__ method. This avoids having voluptuous.Any and voluptuous.All defining new Schema for sub-validators: they can be compiled recursively using the same parent schema. This solves the recursive Self case. Fixes #18
| * Adding SomeOf validator (#314)Guy Arad2017-12-073-2/+108
| | | | | | Adding SomeOf validator and corresponding tests.
| * make Schema.__eq__ deterministic (#316)Dan Tao2017-12-072-5/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add test for schema equality and fix Schema.__eq__ to deal with dicts properly (fixes #315) * add negative equality tests, implement Schema.__ne__ method to support != operator This fills in missing test coverage to ensure the __eq__ method does not return True in some potentially unexpected cases (these tests would fail before be867c5). Previously only the __eq__ method was implemented, which could lead to surprising behavior e.g.: Schema('foo') == Schema('foo') # True Schema('foo') != Schema('foo') # True This adds the __ne__ method so that these operators are complementary as one might expect.
| * add Schema.infer method (#311)Dan Tao2017-12-012-0/+117
| | | | | | | | | | | | This introduces the class method Schema.infer, to infer a Schema from concrete data. This will be useful for converting existing known-good data (e.g. API responses) into enforceable schemas.
| * Make Schema([]) usage consistent with Schema({})Thibault Billon2017-11-022-2/+6
| | | | | | | | | | | | Validation on an empty list was not raising any exception when given values but an empty dict was. Make it uniform and make them both raise a MultipleInvalid exception on unwanted values.
| * Revert "Always evaluate {} as {}" as it breaks backward compatibilityThibault Billon2017-11-023-65/+3
| | | | | | | | This reverts commit 55fe26de1eef7d248248aa25194d9fb517e51ca7.
| * Merge pull request #307 from balloob/descriptionTushar Makkar2017-10-312-8/+26
| |\ | | | | | | Add description to Marker
| | * Add description to MarkerPaulus Schoutsen2017-10-302-8/+26
| |/
| * Allow partial validation when using validate decorator (#296)Simeon Visser2017-09-092-1/+34
| |
| * Merge pull request #300 from mattkohl/masterTushar Makkar2017-07-311-1/+1
| |\ | | | | | | Fixed curl command in README
| | * Fixed curl command in READMEmattkohl2017-07-311-1/+1
| |/
| * Merge pull request #295 from jonafato/sync-up-versionsTushar Makkar2017-06-272-1/+8
| |\ | | | | | | Sync references to Python versions
| | * Sync references to Python versionsJon Banafato2017-06-262-1/+8
| |/ | | | | | | | | Bring `setup.py`, `tox.ini`, and `.travis.yml` in sync with respect to supported Python versions.
| * Merge pull request #294 from jonafato/drop-eol-versionsTushar Makkar2017-06-273-7/+1
| |\ | | | | | | Drop support for end-of-life Python versions
| | * Drop support for end-of-life Python versionsJon Banafato2017-06-263-7/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Per the [dev guide](https://docs.python.org/devguide/#status-of-python-branches), the following versions have been end of lifed: - 2.6: 2013-10-29 - 3.1: 2012-04-11 - 3.2: 2016-02-20 Removing support for EOL versions should make future maintenance easier.
| * Merge pull request #293 from jonafato/python-3.6Tushar Makkar2017-06-273-1/+6
| |\ | | | | | | Declare support for Python 3.6
| | * Declare support for Python 3.6Jon Banafato2017-06-263-1/+6
| |/ | | | | | | | | - Add 3.6 to the Travis-CI and tox configurations - Add 3.6 language classifier to `setup.py`
| * Fix Coerce validator to catch decimal.InvalidOperationTymofii Trukhanov2017-06-011-1/+1
| |
| * Merge pull request #290 from likang/masterTushar Makkar2017-05-134-35/+13
| |\ | | | | | | absolute import
| | * absolute importlikang2017-05-134-35/+13
| |/
| * Remove Python 3.2 from Travis config.Alec Thomas2017-05-121-1/+0
| | | | | | Fixes #288.
| * Merge pull request #285 from balloob/allow-maybe-schemaTushar Makkar2017-05-122-16/+13
| |\ | | | | | | Allow all schemas in Maybe
| | * Add more test casesPaulus Schoutsen2017-04-301-1/+5
| | |
| | * Allow more extensive schemas in MaybePaulus Schoutsen2017-04-302-15/+8
| |/
| * Updated changelog and readmetusharmakkar082017-04-212-1/+3
| |
| * fixed issue 270tusharmakkar082017-04-193-23/+56
| |