mirror of https://github.com/astral-sh/ruff
Allow boolean parameters for `pytest.param` (#4176)
This commit is contained in:
parent
a4ce746892
commit
56c45013c2
|
|
@ -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__"];
|
||||
|
|
|
|||
Loading…
Reference in New Issue