I wish I'd started using autopep8 earlier. It works really well integrated into an editor. I've tried yapf but it breaks lines in bizarre places so I can't use it in a 'fire and forget' manner yet.