File tree Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Expand file tree Collapse file tree 1 file changed +18
-7
lines changed Original file line number Diff line number Diff 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: `--extra-checks ` for more info.
727+
720728.. confval :: implicit_reexport
721729
722730 :type: boolean
@@ -744,25 +752,28 @@ section of the command line docs.
744752
745753 Make arguments prepended via ``Concatenate `` be truly positional-only.
746754
755+ .. warning ::
756+ Deprecated: use :confval: `extra_checks ` instead.
757+
747758.. confval :: strict_equality
748759
749760 :type: boolean
750761 :default: False
751762
752- Prohibit equality checks, identity checks, and container checks between
753- non-overlapping types.
763+ Prohibit equality checks, identity checks, and container checks between
764+ non-overlapping types.
754765
755766.. confval :: strict
756767
757768 :type: boolean
758769 :default: False
759770
760- Enable all optional error checking flags. You can see the list of
761- flags enabled by strict mode in the full :option: `mypy --help `
762- output.
771+ Enable all optional error checking flags. You can see the list of
772+ flags enabled by strict mode in the full :option: `mypy --help `
773+ output.
763774
764- Note: the exact list of flags enabled by :confval: `strict ` may
765- change over time.
775+ Note: the exact list of flags enabled by :confval: `strict ` may
776+ change over time.
766777
767778
768779Configuring error messages
You can’t perform that action at this time.
0 commit comments