pep8 and fixing for coveralls