pep8 fixes

Another set of pep8 fixes
because the callbacks can also not return anything, meaning None. We know this isn't PEP8. We are explicitly stating that it can't be PEP8.