[#1429] PEP8 fixes