@@ -768,7 +768,7 @@ of the above sections.
768
768
769
769
.. option :: --disable-error-code
770
770
771
- This flag allows disabling one or multiple error codes globally.
771
+ This flag disables one or multiple error codes globally.
772
772
See :ref: `error-codes ` for more information.
773
773
774
774
.. code-block :: python
@@ -783,7 +783,7 @@ of the above sections.
783
783
784
784
.. option :: --enable-error-code
785
785
786
- This flag allows enabling one or multiple error codes globally.
786
+ This flag enables one or multiple error codes globally.
787
787
See :ref: `error-codes ` for more information.
788
788
789
789
Note: This flag will override disabled error codes from the
@@ -803,19 +803,22 @@ of the above sections.
803
803
804
804
This flag enables all of the error codes for mypy,
805
805
including the optional ones that are off by default.
806
- See :ref: `error-codes ` for more information.
806
+ See :ref: `error-codes ` and :ref: `error-codes-optional `
807
+ for more information.
807
808
808
809
This flag will override disabled error codes from the
809
810
:option: `--disable-error-code <mypy --disable-error-code> ` flag.
810
811
811
812
Note that future releases of mypy will likely introduce more error codes,
812
- so the effective behavior of this flag will change from release to release.
813
+ so the effective result of using this flag will change from release to
814
+ release.
813
815
814
- While often useful, this flag will enable **all ** error codes,
815
- including those that may be experimental, wrongheaded, or contradictory.
816
+ While often useful, keep in mind that this flag will enable **all ** error
817
+ codes, including any that may be experimental, wrongheaded, or
818
+ contradictory.
816
819
817
- It is not the same as enabling all checks that mypy could perform;
818
- for example, :option: `--strict-bytes ` is not enabled by this flag.
820
+ Enabling all codes is not the same as enabling all checks that mypy could
821
+ perform; for example, :option: `--strict-bytes ` is not enabled by this flag.
819
822
820
823
.. _configuring-error-messages :
821
824
0 commit comments