PyCQA/modernize

Redundant imports are inserted for import six.moves.urllib.error + request

belugame opened this issue · 0 comments

In a low number of my big project modernize inserts redundant imports for modules that are not used in the file. E.g. these three imports are added while only parse is actually needed

import six.moves.urllib.error
import six.moves.urllib.parse
import six.moves.urllib.request