more flake8 style fixes