A schema and validator for YAML.
Fixed a bug when using a schema with a static list and trying to validate a list with a missing element. https://github.com/23andMe/Yamale/issues/66
This release brings strict
mode to Yamale. With strict mode, elements defined in your YAML that aren't specified in the schema will cause a validation error. You can also validate dynamic keys and include validators.
We've bumped the version to 2.x due to an incompatibility. In the 1.x branch, if all the children of a node are optional, then the parent is optional as well. In the 2.x branch, the parent will no longer be optional in this case.
New regex validator! See README for details.
Added fixes for Python 3.8.
Added none
kwarg to all validators. See documentation for usage.
Just updating setup.py so the README displays correctly in PyPI.
Added the day
and timestamp
validators.
Added min
and max
to the list
validator.
Bug fixes.
See README for details.
Check out the readme, near the bottom.
Added support for Python 3.4+
Older versions of Python 3 may work, but only 3.4 is tested.