Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document force_union_syntax and force_uppercase_builtins #16048

Merged
merged 3 commits into from
Sep 5, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/source/config_file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,19 @@ These options may only be set in the global section (``[mypy]``).

Show absolute paths to files.

.. confval:: force_uppercase_builtins

:type: boolean
:default: False

Force to use ``List`` instead of ``list``.
sobolevn marked this conversation as resolved.
Show resolved Hide resolved

.. confval:: force_union_syntax

:type: boolean
:default: False

Force to use ``Union[]`` type instead of ``|`` operator.
sobolevn marked this conversation as resolved.
Show resolved Hide resolved

Incremental mode
****************
Expand Down