made some flake8 fixes
Added a setup.cfg file