fix flake8 issues in __init__.py files