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 fb16e93 commit 472a154Copy full SHA for 472a154
docs/source/running_mypy.rst
@@ -309,7 +309,7 @@ All this will do is make mypy stop reporting an error on the line containing the
309
import: the imported module will continue to be of type ``Any``, and mypy may
310
not catch errors in its use.
311
312
-1. To suppress a *single* missing import error, add a ``# type: ignore`` at the end of the
+1. To suppress a *single* missing import error, add a ``# type: ignore[import-not-found]`` at the end of the
313
line containing the import.
314
315
2. To suppress *all* missing import errors from a single library, add
0 commit comments