diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index b747b31136cd..2cb150df0aea 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -207,6 +207,19 @@ section of the command line docs. This option may only be set in the global section (``[mypy]``). +.. confval:: explicit_package_bases + + :type: boolean + :default: False + + This flag tells mypy that top-level packages will be based in either the + current directory, or a member of the ``MYPYPATH`` environment variable or + :confval:`mypy_path` config option. This option is only useful in + conjunction with :confval:`namespace_packages`. See :ref:`Mapping file + paths to modules ` for details. + + This option may only be set in the global section (``[mypy]``). + .. confval:: ignore_missing_imports :type: boolean