HH-44122 add pep8 test and fix others