pep8 cleanups and update requirements