Skip to content

Commit b1b4aa6

Browse files
committed
remove PD901
1 parent 08d8819 commit b1b4aa6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ruff_linter/src/codes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ pub fn code_to_rule(linter: Linter, code: &str) -> Option<(RuleGroup, Rule)> {
771771
(PandasVet, "013") => (RuleGroup::Stable, rules::pandas_vet::rules::PandasUseOfDotStack),
772772
(PandasVet, "015") => (RuleGroup::Stable, rules::pandas_vet::rules::PandasUseOfPdMerge),
773773
(PandasVet, "101") => (RuleGroup::Stable, rules::pandas_vet::rules::PandasNuniqueConstantSeriesCheck),
774-
(PandasVet, "901") => (RuleGroup::Deprecated, rules::pandas_vet::rules::PandasDfVariableName),
774+
(PandasVet, "901") => (RuleGroup::Removed, rules::pandas_vet::rules::PandasDfVariableName),
775775

776776
// flake8-errmsg
777777
(Flake8ErrMsg, "101") => (RuleGroup::Stable, rules::flake8_errmsg::rules::RawStringInException),

crates/ruff_linter/src/rules/pandas_vet/rules/assignment_to_df.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use ruff_text_size::Ranged;
44

55
use crate::{Violation, checkers::ast::Checker};
66

7-
/// ## Deprecated
7+
/// ## Removed
88
///
9-
/// This rule has been deprecated as it's highly opinionated and overly strict in most cases.
9+
/// This rule has been Removed.
1010
///
1111
/// ## What it does
1212
/// Checks for assignments to the variable `df`.

0 commit comments

Comments
 (0)