From eb5d0d7183bea97e1b66b356720b651cf7f6816d Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 5 Sep 2023 14:13:22 +0300 Subject: [PATCH] Document `force_union_syntax` and `force_lowercase_builtins` --- docs/source/config_file.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index c0798bbf03f14..91bdf5701aa8d 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -816,6 +816,19 @@ These options may only be set in the global section (``[mypy]``). Show absolute paths to files. +.. confval:: force_lowercase_builtins + + :type: boolean + :default: False + + Force to use ``List`` instead of ``list`` . + +.. confval:: force_union_syntax + + :type: boolean + :default: True + + Force to use ``Union[]`` type instead of ``|`` operator. Incremental mode ****************