base: PEP8 fixes