DRY up  validate_*
Fuck you ipython
Merge pull request #57 from pre-commit/dry_validate

Dry validate