pep8 and flake8 fixups

- only one import per line
- unused import
- unused local var (so just del it)