fix flake8 issues and bump version