From 69d23ebb71a148798c9ef21d9c758c6c32324a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Sch=C3=A4fer?= <33159547+floscha@users.noreply.github.com> Date: Fri, 1 Sep 2023 22:00:33 +0200 Subject: [PATCH] Add config file docs for `install_types` and `non_interactive` --- docs/source/config_file.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index c0798bbf03f1..05629dd09304 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -1023,6 +1023,21 @@ Miscellaneous These options may only be set in the global section (``[mypy]``). +.. confval:: install_types + + :type: boolean + :default: False + + Causes mypy to install known missing stub packages for third-party libraries using pip. + +.. confval:: non_interactive + + :type: boolean + :default: False + + When used together with `--install-types`, this causes mypy to install all suggested + stub packages using pip without asking for confirmation. + .. confval:: junit_xml :type: string