Skip to content

Commit

Permalink
Clarify stub-only packages need to be installed (#9958)
Browse files Browse the repository at this point in the history
* Clarify stub-only packages need to be installed
* Add link to PEP 561
  • Loading branch information
Gustav Gränsbo authored Jan 16, 2022
1 parent 9943444 commit 5f39f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/running_mypy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ This is computed from the following items:

.. note::

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

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

0 comments on commit 5f39f5d

Please sign in to comment.