Consider replacing our validators with voluptuous
Open
discussion
- Dominant language
- Python
- Stars
- 722
- Forks
- 237
- Avg merge
- 11h 31m
- Merged PRs (30d)
- 4
Description
https://github.com/alecthomas/voluptuous
Despite the name, it's a data validation library that does everything we need, and more. Its range even lets you specify if the ends should be included as valid or not (fixes another issue if I remember correctly).
As of February, many of the validators are classes just like ours, so our use-cases are 100% covered. What do you think? Worth dropping util/data.py for it?
Mapping:
Range -> Range
MatchesRegex -> Match
Equals -> Match or Range
Contributor guide
Assessment
This issue has not been assessed yet.