diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index a5235516739f..cc3a0bc78392 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -13,9 +13,7 @@ to read a different file instead (see :ref:`config-file-flag`). It is important to understand that there is no merging of configuration files, as it would lead to ambiguity. The :option:`--config-file ` flag has the highest precedence and must be correct; otherwise mypy will report -an error and exit. Without command line option, mypy will look for defaults, -but will use only one of them. The first one to read is ``mypy.ini``, -then ``.mypy.ini``, and finally ``setup.cfg``. +an error and exit. Without command line option, mypy will look for configuration files in the above mentioned order. Most flags correspond closely to :ref:`command-line flags ` but there are some differences in flag names and some