CLOUDIFY-2340 flake8 changes