flake8 fixes
Added flake8 configuration