fixing flake8 issues for ci