We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6810987 commit 7b1cc24Copy full SHA for 7b1cc24
1 file changed
mypy/errors.py
@@ -630,7 +630,7 @@ def add_error_info(self, info: ErrorInfo) -> None:
630
self.only_once_messages.add(info.message)
631
if (
632
self.seen_import_error
633
- and ErrorCode.is_code_or_sub_code_of(info.code, IMPORT)
+ and not ErrorCode.is_code_or_sub_code_of(info.code, IMPORT)
634
and self.has_many_errors()
635
):
636
# Missing stubs can easily cause thousands of errors about
0 commit comments