Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix type hint of schemas, for example for Required('key') (#478)HEADmaster | DS/Charlie | 2023-02-22 | 1 | -16/+20 |
| | |||||
* | Set static PyPI project description (#476) | Philip Allgaier | 2023-02-13 | 1 | -2/+1 |
| | |||||
* | add typing information (#475) | DS/Charlie | 2023-02-13 | 10 | -105/+147 |
| | |||||
* | Change to SPDX conform license string (#472) | elprimato | 2022-10-23 | 1 | -1/+1 |
| | | | Co-authored-by: Volker Schaus <volker.schaus@esa.int> | ||||
* | Fix a few typos (#470) | Tim Gates | 2022-07-13 | 3 | -5/+5 |
| | |||||
* | Release 0.13.1 (#469)0.13.1 | Philip Allgaier | 2022-04-07 | 3 | -3/+19 |
| | |||||
* | Add tests for `Object` and `MultipleInvalid` (#467) | Philip Allgaier | 2022-04-03 | 2 | -13/+45 |
| | |||||
* | Style and warning cleanups in README (#466) | Philip Allgaier | 2022-04-03 | 1 | -50/+18 |
| | |||||
* | Extend README to include coverage run commands + unpin `setupstools` (#465) | Philip Allgaier | 2022-04-03 | 2 | -3/+7 |
| | |||||
* | `pytest` migration + enable Python 3.10 (#464) | Philip Allgaier | 2022-04-03 | 6 | -227/+203 |
| | | | | Co-authored-by: pgajdos <pgajdos@suse.cz> Co-authored-by: epenet <epenet@users.noreply.github.com> | ||||
* | Convert codebase to adhere to flake8 W504 (PEP 8) (#462) | Philip Allgaier | 2022-04-02 | 4 | -17/+18 |
| | |||||
* | Enable flake8 in github actions (#459) | epenet | 2022-04-02 | 5 | -22/+26 |
| | |||||
* | Ignore `Enum` if it is unavailable (#454) | epenet | 2022-04-02 | 3 | -33/+42 |
| | |||||
* | Enable github actions (#457) | epenet | 2022-04-02 | 2 | -0/+39 |
| | |||||
* | Fix email regex match for Python 2.7 (#456) | epenet | 2022-04-01 | 2 | -3/+23 |
| | |||||
* | Release 0.13.00.13.0 | Philip Allgaier | 2022-03-30 | 2 | -1/+7 |
| | |||||
* | Display valid Enum values in Coerce | epenet | 2022-03-11 | 2 | -0/+40 |
| | |||||
* | Release 0.12.2v0.12.20.12.2 | Adam Tankanow | 2021-09-21 | 2 | -2/+8 |
| | |||||
* | Change email regex match to fullmatch | leonidguadalupe | 2021-08-31 | 1 | -1/+1 |
| | | | | | | | | | This PR is about the current method used to conditionally match user and domain regex to email. currently, it's using match which wrongfully accepts entries if domain has special characters after .com it currently accepts, john@voluptuous.com> or john!@voluptuous.org!@($*! thus, we need to fullmatch the domain or user to avoid such entries and validate them properly. | ||||
* | ISSUE-439: Fix broken test | Adam Tankanow | 2021-02-20 | 1 | -2/+2 |
| | |||||
* | Revert "Ensure `Maybe` propagates error information (#411)" | Adam Tankanow | 2021-02-20 | 2 | -2/+2 |
| | | | | This reverts commit da3cc967f7b16f18bf8c1feacfeced8f10ce9e40. | ||||
* | Include the regular expression in the error message | timski | 2021-01-28 | 1 | -2/+2 |
| | |||||
* | Release 0.12.10.12.1 | Philip Allgaier | 2020-12-06 | 2 | -2/+19 |
| | |||||
* | Extend tests for `Schema` with empty list or dict (#438) | Philip Allgaier | 2020-12-06 | 1 | -16/+47 |
| | |||||
* | Remove value enumeration when validating empty list (#434) | monopolis | 2020-12-06 | 3 | -3/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability to use custom flags when running tox .. so that you can e.g. run `tox -- --pdb` to get a debugger on test failures. * Remove value enumeration when validating empty list (#397) The behaviour seems to have been introduced in commit 95489bd443e9a654 that modified the schema of an empty list in order to provide a consistent behaviour between Schema({}) and Schema([]). The commit introduced an enumeration of the incorrect values rather than the expected behaviour of showing the key with the incorrect value. This commit provides the expected behaviour, and is also consistent with the 'pathless' behaviour currently implemented, meaning that - Schema([])([1]) -> 'not a valid value @ data[1]' - Schema({'key': []})({'key': [1]) -> 'not a valid dictionary value @ data['key']. Finally, as new unit test is provided to ensure that the new behaviour remains intact. | ||||
* | Grouped `Maybe` tests plus added a `Range` test (#437) | Philip Allgaier | 2020-12-06 | 2 | -17/+25 |
| | |||||
* | Ensure `Maybe` propagates error information (#411) | monopolis | 2020-12-06 | 2 | -2/+18 |
| | | | | | | | | | | Due to Any evaluating all options, and raising the exception from the first encountered error, Maybe would discard the expected error raised by the provided validator and only raise a invalid value error (due to values not being None). This commit changes the order of the validators in Maybe so that the first evaluated error, and thus returned is that of the provided validator. | ||||
* | Enable stable travis-ci python 3.9 build | Philip Allgaier | 2020-11-19 | 1 | -1/+1 |
| | |||||
* | Add sorted() for In and NotIn + fix tests (#436) | Philip Allgaier | 2020-11-18 | 2 | -6/+6 |
| | |||||
* | Improve error message for In() and NotIn() (#425) | vmaillol-altair | 2020-11-18 | 1 | -2/+4 |
| | | | | | * Update validators.py * Update In and NotIn validator error message | ||||
* | Extended a few tests (#435) | Philip Allgaier | 2020-11-18 | 1 | -33/+35 |
| | |||||
* | Use "py3.9-dev" in travis-ci for now | Philip Allgaier | 2020-10-07 | 1 | -1/+1 |
| | | | The python 3.9 binary from travis-ci is not yet available although Python 3.9 itself has been officially released. | ||||
* | Add Python 3.9 support (#433) | Philip Allgaier | 2020-10-07 | 3 | -1/+3 |
| | |||||
* | Fixed typos + made spelling more consistent (#431) | Philip Allgaier | 2020-09-22 | 4 | -78/+78 |
| | | | | | * Fixed typos + made spelling more consistent * Adjustments | ||||
* | Update changelog for 0.12.0 | Philip Allgaier | 2020-09-21 | 1 | -1/+14 |
| | |||||
* | Newer coverage version required for python-3.8 | Philip Allgaier | 2020-09-21 | 1 | -1/+1 |
| | |||||
* | Cleanup python versions (remove unsupported + add 3.8) | Philip Allgaier | 2020-09-21 | 3 | -19/+3 |
| | |||||
* | Updated README to include shields from pypi | Philip Allgaier | 2020-09-21 | 1 | -0/+3 |
| | |||||
* | Fix most important flake8 errors/warnings | Philip Allgaier | 2020-09-21 | 3 | -19/+25 |
| | |||||
* | Added additional tests for Range, Clamp and Length + catch exceptions (#427) | Philip Allgaier | 2020-09-20 | 2 | -16/+101 |
| | |||||
* | Update README.md | Alec Thomas | 2020-08-24 | 1 | -1/+1 |
| | |||||
* | Fixed issue with 'required' not being set properly and added test (#420) | EarQuack | 2020-04-01 | 2 | -0/+9 |
| | | | A fix for issue #419 - schema required flag isn't set properly in all cases | ||||
* | Update issue templates | Alec Thomas | 2020-01-21 | 1 | -0/+16 |
| | |||||
* | Switch to CONTRIBUTIONS ONLY | Alec Thomas | 2020-01-21 | 1 | -0/+9 |
| | |||||
* | Update schema_builder.py | Tim Gates | 2019-12-06 | 1 | -1/+1 |
| | |||||
* | Fix simple typo: arugment -> argument | Tim Gates | 2019-12-06 | 1 | -1/+1 |
| | | | | Closes #415 | ||||
* | Handle incomparable values in Range (#414) | monopolis | 2019-11-28 | 2 | -17/+37 |
| | | | | | | | | | | In Python3 some values that are comparable in Python2 are no longer comparable. One instance of this is None, which in Python2 is always less than any other object. In Python3, however, a TypeError is raised if it is used in a comparison. This commit handles said TypeError and issues a RangeInvalid exception instead. | ||||
* | Allow a discrminant field in validators (#368) | Yashvardhan Didwania | 2019-08-15 | 2 | -1/+76 |
| | |||||
* | 0.11.7 including changelog. | Alec Thomas | 2019-08-13 | 2 | -2/+2 |
| | |||||
* | Updated changelog with latest changes since release of 0.11.5 | Simeon Visser | 2019-08-13 | 1 | -0/+18 |
| |