Update python settings with flake8