Fix flake8 check in travis