Skip to content

Commit 4daa7fb

Browse files
Gustav Gränsbotushar-deepsource
authored andcommitted
Clarify stub-only packages need to be installed (python#9958)
* Clarify stub-only packages need to be installed * Add link to PEP 561
1 parent d33fe55 commit 4daa7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/running_mypy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ This is computed from the following items:
491491

492492
.. note::
493493

494-
You cannot point to a :pep:`561` package via the ``MYPYPATH``, it must be
494+
You cannot point to a stub-only package (:pep:`561`) via the ``MYPYPATH``, it must be
495495
installed (see :ref:`PEP 561 support <installed-packages>`)
496496

497497
Second, mypy searches for stub files in addition to regular Python files

0 commit comments

Comments
 (0)