pep8 corrections and tweaked travis