From 6cfb00fabc9c70617d48f5faee2428b45c0bd261 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 31 May 2022 16:32:31 -0700 Subject: [PATCH] mypy: Enable ignore-without-code errors. Signed-off-by: Anders Kaseorg --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index df83fbf226..d7b0a78900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ warn_return_any = false enable_error_code = [ "redundant-expr", "truthy-bool", + "ignore-without-code", ] # Display the codes needed for # type: ignore[code] annotations.