Fix PEP8 errors, update invoke in requirements