Displaying error codes
Error codes are not displayed by default. Use —show-error-codes
to display error codes. Error codes are shown inside square brackets:
- $ mypy --show-error-codes prog.py
- prog.py:1: error: "str" has no attribute "trim" [attr-defined]