Skip to content

Commit eb5d0d7

Browse files
committed
Document force_union_syntax and force_lowercase_builtins
1 parent 4496a00 commit eb5d0d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/source/config_file.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,19 @@ These options may only be set in the global section (``[mypy]``).
816816

817817
Show absolute paths to files.
818818

819+
.. confval:: force_lowercase_builtins
820+
821+
:type: boolean
822+
:default: False
823+
824+
Force to use ``List`` instead of ``list`` .
825+
826+
.. confval:: force_union_syntax
827+
828+
:type: boolean
829+
:default: True
830+
831+
Force to use ``Union[]`` type instead of ``|`` operator.
819832

820833
Incremental mode
821834
****************

0 commit comments

Comments
 (0)