Skip to content

Update config_file docs #18103

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

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Changes from all 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
22 changes: 15 additions & 7 deletions docs/source/config_file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,14 @@ section of the command line docs.

Note: This option will override disabled error codes from the disable_error_code option.

.. confval:: extra_checks

:type: boolean
:default: False

This flag enables additional checks that are technically correct but may be impractical in real code.
See :option:`mypy --extra-checks` for more info.

.. confval:: implicit_reexport

:type: boolean
Expand All @@ -739,23 +747,23 @@ section of the command line docs.

.. confval:: strict_concatenate

:type: boolean
:default: False
:type: boolean
:default: False

Make arguments prepended via ``Concatenate`` be truly positional-only.
Make arguments prepended via ``Concatenate`` be truly positional-only.

.. confval:: strict_equality

:type: boolean
:default: False
:type: boolean
:default: False

Prohibit equality checks, identity checks, and container checks between
non-overlapping types.

.. confval:: strict

:type: boolean
:default: False
:type: boolean
:default: False

Enable all optional error checking flags. You can see the list of
flags enabled by strict mode in the full :option:`mypy --help`
Expand Down