Skip to content

Commit c02f9bc

Browse files
committed
Less "Skipping" debug spew
1 parent 8f253c2 commit c02f9bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypy/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,8 @@ def __init__(self,
16231623
self.ignore_all = True
16241624
else:
16251625
# In 'error' mode, produce special error messages.
1626-
manager.log("Skipping %s (%s)" % (path, id))
1626+
if id not in manager.missing_modules:
1627+
manager.log("Skipping %s (%s)" % (path, id))
16271628
if follow_imports == 'error':
16281629
if ancestor_for:
16291630
self.skipping_ancestor(id, path, ancestor_for)

0 commit comments

Comments
 (0)