diff --git a/crates/ruff/src/rules/flake8_boolean_trap/rules.rs b/crates/ruff/src/rules/flake8_boolean_trap/rules.rs index bf6a788223b91..f09ece952f205 100644 --- a/crates/ruff/src/rules/flake8_boolean_trap/rules.rs +++ b/crates/ruff/src/rules/flake8_boolean_trap/rules.rs @@ -42,22 +42,23 @@ const FUNC_CALL_NAME_ALLOWLIST: &[&str] = &[ "assertEquals", "assertNotEqual", "assertNotEquals", + "bytes", "failIfEqual", "failUnlessEqual", + "float", "fromkeys", "get", "getattr", + "getboolean", + "getfloat", + "getint", "index", + "int", + "param", "pop", "setattr", "setdefault", "str", - "bytes", - "int", - "float", - "getint", - "getfloat", - "getboolean", ]; const FUNC_DEF_NAME_ALLOWLIST: &[&str] = &["__setitem__"];