fix unused import types errors

autopep8 removed some uses of types
this fixes pyflakes