Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/running_mypy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ All this will do is make mypy stop reporting an error on the line containing the
import: the imported module will continue to be of type ``Any``, and mypy may
not catch errors in its use.

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
line containing the import.

2. To suppress *all* missing import errors from a single library, add
Expand Down