File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -830,7 +830,8 @@ in developing or debugging mypy internals.
830
830
submitting them upstream, but also allows you to use a forked version of
831
831
typeshed.
832
832
833
- Note that this doesn't affect third-party library stubs.
833
+ Note that this doesn't affect third-party library stubs. To test third-party stubs,
834
+ for example try ``MYPYPATH=stubs/six mypy ... ``.
834
835
835
836
.. _warn-incomplete-stub :
836
837
Original file line number Diff line number Diff line change @@ -858,9 +858,16 @@ These options may only be set in the global section (``[mypy]``).
858
858
859
859
:type: string
860
860
861
- Specifies an alternative directory to look for stubs instead of the
862
- default ``typeshed `` directory. User home directory and environment
863
- variables will be expanded.
861
+ This specifies the directory where mypy looks for standard library typeshed
862
+ stubs, instead of the typeshed that ships with mypy. This is
863
+ primarily intended to make it easier to test typeshed changes before
864
+ submitting them upstream, but also allows you to use a forked version of
865
+ typeshed.
866
+
867
+ User home directory and environment variables will be expanded.
868
+
869
+ Note that this doesn't affect third-party library stubs. To test third-party stubs,
870
+ for example try ``MYPYPATH=stubs/six mypy ... ``.
864
871
865
872
.. confval :: warn_incomplete_stub
866
873
You can’t perform that action at this time.
0 commit comments