some code formatting according to flake8