diff --git a/pyproject.toml b/pyproject.toml index cc616bc54..c52119417 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -218,7 +218,7 @@ python_version = "3.10" pretty = true disallow_any_generics = true disallow_untyped_defs = true -enable_error_code = "ignore-without-code" +enable_error_code = [ "ignore-without-code", "truthy-bool" ] extra_checks = true follow_imports = "silent" warn_redundant_casts = true