resolved flake8 issues