[#1188] PEP8 fixes