skippyPeanutButter / yaml_bot

Validate the content of a yaml file according to a set of rules
MIT License
3 stars 0 forks source link

Reduce duplication #4

Closed skippyPeanutButter closed 7 years ago

skippyPeanutButter commented 7 years ago

There are a lot of similarities between the validate_optional_keys and validate_required_keys method. This should be combined into a common, generic method that could handle both types of keys.

skippyPeanutButter commented 7 years ago

Resolved in this commit