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