Update Ruby patch version
Flak8 fixes
Run flake8 on Travis-CI and tox