Skip to content

Commit 1de4871

Browse files
authored
Update config_file docs (#18103)
Changes: - Fix `strict_equality` markup. It used to be like this: <img width="760" alt="Снимок экрана 2024-11-04 в 13 47 35" src="https://github.com/user-attachments/assets/d3e99a72-5216-4dda-8cca-2e30f6d705dc"> - Add `extra_checks` confval
1 parent ee3122f commit 1de4871

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/source/config_file.rst

+15-7
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,14 @@ section of the command line docs.
717717

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

720+
.. confval:: extra_checks
721+
722+
:type: boolean
723+
:default: False
724+
725+
This flag enables additional checks that are technically correct but may be impractical in real code.
726+
See :option:`mypy --extra-checks` for more info.
727+
720728
.. confval:: implicit_reexport
721729

722730
:type: boolean
@@ -739,23 +747,23 @@ section of the command line docs.
739747
740748
.. confval:: strict_concatenate
741749

742-
:type: boolean
743-
:default: False
750+
:type: boolean
751+
:default: False
744752

745-
Make arguments prepended via ``Concatenate`` be truly positional-only.
753+
Make arguments prepended via ``Concatenate`` be truly positional-only.
746754

747755
.. confval:: strict_equality
748756

749-
:type: boolean
750-
:default: False
757+
:type: boolean
758+
:default: False
751759

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

755763
.. confval:: strict
756764

757-
:type: boolean
758-
:default: False
765+
:type: boolean
766+
:default: False
759767

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

0 commit comments

Comments
 (0)