Update TravisCI to use flake8 3.6.0 (#398)

* Bump flake8 versions and fix errors

* Change pep8 to pycodestyle and bump version

* Make changes

* Stick with syntax in tox.ini
3 files changed