mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:28 +00:00
Fix commented-out coalesce
keyword (#7876)
See: https://github.com/astral-sh/ruff/pull/7874#issuecomment-1753498994.
This commit is contained in:
parent
97e944003b
commit
74b00c9b91
2 changed files with 1 additions and 9 deletions
|
@ -12,7 +12,7 @@ pub(super) fn is_allowed_func_call(name: &str) -> bool {
|
|||
| "assertNotEquals"
|
||||
| "bool"
|
||||
| "bytes"
|
||||
// | "coalesce"
|
||||
| "coalesce"
|
||||
| "count"
|
||||
| "failIfEqual"
|
||||
| "failUnlessEqual"
|
||||
|
|
|
@ -38,12 +38,4 @@ FBT.py:69:38: FBT003 Boolean positional value in function call
|
|||
71 | bar.is_not(False)
|
||||
|
|
||||
|
||||
FBT.py:73:31: FBT003 Boolean positional value in function call
|
||||
|
|
||||
71 | bar.is_not(False)
|
||||
72 | next(iter([]), False)
|
||||
73 | sa.func.coalesce(tbl.c.valid, False)
|
||||
| ^^^^^ FBT003
|
||||
|
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue