File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,11 @@ for full details, see :ref:`running-mypy`.
68
68
checked. For instance, ``mypy --exclude '/setup.py$'
69
69
but_still_check/setup.py ``.
70
70
71
- In particular, ``--exclude `` does not affect mypy's :ref: `import following
72
- <follow-imports>`. You can use a per-module :confval: `follow_imports ` config
73
- option to additionally avoid mypy from following imports and checking code
74
- you do not wish to be checked.
71
+ In particular, ``--exclude `` does not affect mypy's discovery of files
72
+ via :ref: `import following <follow-imports >`. You can use a per-module
73
+ :confval: `ignore_errors ` config option to silence errors from a given module,
74
+ or a per-module :confval: `follow_imports ` config option to additionally avoid
75
+ mypy from following imports and checking code you do not wish to be checked.
75
76
76
77
Note that mypy will never recursively discover files and directories named
77
78
"site-packages", "node_modules" or "__pycache__", or those whose name starts
You can’t perform that action at this time.
0 commit comments