flake8 modifications applied