mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-19 02:55:20 +00:00
New rule: Prevent assignment expressions in assert statements (#7856)
This commit is contained in:
parent
74b00c9b91
commit
7faa43108f
9 changed files with 93 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ mod tests {
|
|||
Rule::TooManyPublicMethods,
|
||||
Rule::UndocumentedWarn,
|
||||
Rule::UnnecessaryEnumerate,
|
||||
Rule::AssignmentInAssert,
|
||||
];
|
||||
|
||||
#[allow(clippy::needless_pass_by_value)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue