codevalidator (pypi): Simple source code validator with file reformatting option (remove trailing WS, pretty print XML, ..)
Keywords: formatter|beautify|indentation