fix line too long pep8 warnings
switch to using flake8 for more checks