mypy has the concept of "re-export"ing a module by importing it and giving it the same name in the as dotted name:
https://mypy.readthedocs.io/en/stable/config_file.html#confval-implicit_reexport
from whatever import thing as thing
thing may not be used, but it needs to stay, since it is being exported. (This is primarily to allow for moving a definition but maintaining backwards compatibility).
It'd be great if autoflake doesn't remove these.