mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
[refurb
] Implement no-slice-copy
(FURB145
) (#7007)
## Summary Implement [`no-slice-copy`](https://github.com/dosisod/refurb/blob/master/refurb/checks/builtin/no_slice_copy.py) as `slice-copy` (`FURB145`). Related to #1348. ## Test Plan `cargo test`
This commit is contained in:
parent
b0cbcd3dfa
commit
ebe9c03545
13 changed files with 325 additions and 40 deletions
|
@ -811,6 +811,7 @@ mod tests {
|
|||
Rule::RepeatedAppend,
|
||||
Rule::DeleteFullSlice,
|
||||
Rule::CheckAndRemoveFromSet,
|
||||
Rule::SliceCopy,
|
||||
Rule::QuadraticListSummation,
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue