use flake8 in a Travis compatible way