Tab removal and flake8 cleanup.