summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/14519.misc1
-rw-r--r--mypy.ini1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/14519.misc b/changelog.d/14519.misc
new file mode 100644
index 0000000000..bfae0a0138
--- /dev/null
+++ b/changelog.d/14519.misc
@@ -0,0 +1 @@
+Enable unused-awaitable error for mypy since it is really easy to miss an async keyword.
\ No newline at end of file
diff --git a/mypy.ini b/mypy.ini
index 4cd61e0484..9eb1f0a013 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -12,6 +12,7 @@ local_partial_types = True
 no_implicit_optional = True
 disallow_untyped_defs = True
 strict_equality = True
+enable_error_code = unused-awaitable
 
 files =
   docker/,