diff --git a/docs/source/running_mypy.rst b/docs/source/running_mypy.rst index 96f95b81e461..7fff6b410f6c 100644 --- a/docs/source/running_mypy.rst +++ b/docs/source/running_mypy.rst @@ -376,7 +376,8 @@ This is computed from the following items: For sources given on the command line, the path is adjusted by crawling up from the given file or package to the nearest directory that does not -contain an ``__init__.py`` or ``__init__.pyi`` file. +contain an ``__init__.py`` or ``__init__.pyi`` file. If the given path +is relative, it will only crawl as far as the current working directory. Second, mypy searches for stub files in addition to regular Python files and packages.