Fix flake8 errors
Fix more flake8 issues
Allow 100 lines in flake8