modulegraph/_imp.py:81:25: B007 Loop control variable 'mode' not used within the loop body. If this is intended, start the name with an underscore.
modulegraph/_imp.py:81:31: B007 Loop control variable 'type_' not used within the loop body. If this is intended, start the name with an underscore.
modulegraph/modulegraph.py:285:28: F821 undefined name 'importlib'
modulegraph/modulegraph.py:2043:9: F824 `global header` is unused: name is never assigned in scope
modulegraph/modulegraph.py:2043:9: F824 `global footer` is unused: name is never assigned in scope
modulegraph/modulegraph.py:2043:9: F824 `global entry` is unused: name is never assigned in scope
modulegraph/modulegraph.py:2043:9: F824 `global contpl` is unused: name is never assigned in scope
modulegraph/modulegraph.py:2043:9: F824 `global contpl_linked` is unused: name is never assigned in scope
modulegraph/modulegraph.py:2043:9: F824 `global imports` is unused: name is never assigned in scope

