mypy: Enable ignore-without-code errors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-05-31 16:32:31 -07:00 committed by Tim Abbott
parent df69e1d979
commit 6cfb00fabc
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ warn_return_any = false
enable_error_code = [ enable_error_code = [
"redundant-expr", "redundant-expr",
"truthy-bool", "truthy-bool",
"ignore-without-code",
] ]
# Display the codes needed for # type: ignore[code] annotations. # Display the codes needed for # type: ignore[code] annotations.