From 2b76d88bd386f585540332a7327186676fe5e04d Mon Sep 17 00:00:00 2001 From: Evan Rittenhouse Date: Wed, 21 Jun 2023 12:12:47 -0500 Subject: [PATCH] Add Applicability to pandas_vet (#5252) --- crates/ruff/src/rules/pandas_vet/fixes.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ruff/src/rules/pandas_vet/fixes.rs b/crates/ruff/src/rules/pandas_vet/fixes.rs index 23ac1a5c3ea91..8a3d368f07b4b 100644 --- a/crates/ruff/src/rules/pandas_vet/fixes.rs +++ b/crates/ruff/src/rules/pandas_vet/fixes.rs @@ -40,6 +40,5 @@ pub(super) fn convert_inplace_argument_to_assignment( false, ) .ok()?; - #[allow(deprecated)] - Some(Fix::unspecified_edits(insert_assignment, [remove_argument])) + Some(Fix::suggested_edits(insert_assignment, [remove_argument])) }