Reintroduce pytest settings
Added flake8 run