PEP8 fixes for validators