File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -452,19 +452,10 @@ in error messages.
452
452
``--no-color-output ``
453
453
This flag will disable color output in error messages, enabled by default.
454
454
455
- ``--error-summary ``
456
- This flag will show error messages with stats summary,
457
- for example, the following indicates an error summary::
458
- from typing import List
459
- x = [] # type: List[float]
460
- y = [] # type: List[int]
461
- x = y
462
- bad.py:4: error: Incompatible types in assignment (expression has type
463
- "List[int]", variable has type "List[float]")
464
- bad.py:4: note: "List" is invariant -- see
465
- http://mypy.readthedocs.io/en/latest/common_issues.html#variance
466
- bad.py:4: note: Consider using "Sequence" instead, which is covariant
467
- Found 1 error in 1 file (checked 1 source file)
455
+ ``--no-error-summary ``
456
+ This flag will show error messages with stats summary, enabled by default.
457
+ By default mypy shows a summary line including total number of errors,
458
+ number of files with errors, and number of files checked.
468
459
469
460
.. _incremental :
470
461
You can’t perform that action at this time.
0 commit comments