diff --git a/docs/source/command_line.rst b/docs/source/command_line.rst index ace34df1432b..26d1fb8081a3 100644 --- a/docs/source/command_line.rst +++ b/docs/source/command_line.rst @@ -449,6 +449,13 @@ in error messages. main.py:12:9: error: Unsupported operand types for / ("int" and "str") +``--no-color-output`` + This flag will disable color output in error messages, enabled by default. + +``--no-error-summary`` + This flag will disable error summary. By default mypy shows a summary line + including total number of errors, number of files with errors, and number + of files checked. .. _incremental: diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index 69475baf2bb7..beb2b3cead82 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -401,6 +401,11 @@ section of the command line docs. ``show_column_numbers`` (bool, default False) Shows column numbers in error messages. +``color_output`` (bool, default True) + Shows error messages with color enabled. + +``error_summary`` (bool, default True) + Shows a short summary line after error messages. Advanced options ----------------