Add flake8 testing to travis builds.

I feel like the only way to test this is to open up a PR and see how it runs on travis!