Fixed flake8 errors given by Jenkis