HH-41451 run PEP8 tests on build and fix some PEP8 warnings