CLOUDIFY-2340 apply flake8 needed changes to code