Skip to content

Commit 8870d43

Browse files
committed
Mention mypy config file option report_deprecated_as_note=True
1 parent 57b613b commit 8870d43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ decorated with `warnings.deprecated`, as specified in [PEP 702](https://peps.pyt
6363

6464
You can enable the error code via `--enable-error-code=deprecated` on the mypy
6565
command line or `enable_error_code = deprecated` in the mypy config file.
66-
Use the option `--report-deprecated-as-note` to turn all such errors into notes.
66+
Use the command line flag `--report-deprecated-as-note` or config file option
67+
`report_deprecated_as_note=True` to turn all such errors into notes.
6768

6869
Deprecation errors will be enabled by default in a future mypy version.
6970

0 commit comments

Comments
 (0)