save params to yaml, flake8