Skip to content

Commit 91a6613

Browse files
authored
MYPYPATH: Improve docs for those running on Windows (#13622)
On Windows, `MYPYPATH` needs to be a _semicolon_-separated list of paths, rather than a _colon_-separated list of paths.
1 parent b031f1c commit 91a6613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/running_mypy.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ First, mypy has its own search path.
480480
This is computed from the following items:
481481

482482
- The ``MYPYPATH`` environment variable
483-
(a colon-separated list of directories).
483+
(a list of directories, colon-separated on UNIX systems, semicolon-separated on Windows).
484484
- The :confval:`mypy_path` config file option.
485485
- The directories containing the sources given on the command line
486486
(see :ref:`Mapping file paths to modules <mapping-paths-to-modules>`).

0 commit comments

Comments
 (0)