diff --git a/docs/source/command_line.rst b/docs/source/command_line.rst index 17758484f243..7b6b75b98b6f 100644 --- a/docs/source/command_line.rst +++ b/docs/source/command_line.rst @@ -68,10 +68,11 @@ for full details, see :ref:`running-mypy`. checked. For instance, ``mypy --exclude '/setup.py$' but_still_check/setup.py``. - In particular, ``--exclude`` does not affect mypy's :ref:`import following - `. You can use a per-module :confval:`follow_imports` config - option to additionally avoid mypy from following imports and checking code - you do not wish to be checked. + In particular, ``--exclude`` does not affect mypy's discovery of files + via :ref:`import following `. You can use a per-module + :confval:`ignore_errors` config option to silence errors from a given module, + or a per-module :confval:`follow_imports` config option to additionally avoid + mypy from following imports and checking code you do not wish to be checked. Note that mypy will never recursively discover files and directories named "site-packages", "node_modules" or "__pycache__", or those whose name starts