PEP8 changes to plugin