diff --git a/pyproject.toml b/pyproject.toml index 0373cb1..d8f4be7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -480,6 +480,8 @@ enable_error_code = [ "possibly-undefined", # Report conditions that are always true or always false "redundant-expr", + # Report truthiness checks on objects that are always true + "truthy-bool", ] # Check further edge cases that are rarely an issue in practice