Use stricter mypy config
@@ -104,6 +104,8 @@ plugins =
[mypy]
# Mypy configuration:
# https://mypy.readthedocs.io/en/latest/config_file.html
+enable_error_code = truthy-bool, redundant-expr, unused-awaitable
+
allow_redefinition = false
check_untyped_defs = true
disallow_untyped_decorators = true
