File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
crates/ruff_linter/src/rules/ruff Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ mod tests {
9393 #[ test_case( Rule :: NeedlessElse , Path :: new( "RUF047_try.py" ) ) ]
9494 #[ test_case( Rule :: MapIntVersionParsing , Path :: new( "RUF048.py" ) ) ]
9595 #[ test_case( Rule :: MapIntVersionParsing , Path :: new( "RUF048_1.py" ) ) ]
96+ #[ test_case( Rule :: DataclassEnum , Path :: new( "RUF049.py" ) ) ]
9697 #[ test_case( Rule :: IfKeyInDictDel , Path :: new( "RUF051.py" ) ) ]
9798 #[ test_case( Rule :: UsedDummyVariable , Path :: new( "RUF052.py" ) ) ]
9899 #[ test_case( Rule :: ClassWithMixedTypeVars , Path :: new( "RUF053.py" ) ) ]
@@ -475,7 +476,6 @@ mod tests {
475476 #[ test_case( Rule :: UnnecessaryRegularExpression , Path :: new( "RUF055_1.py" ) ) ]
476477 #[ test_case( Rule :: UnnecessaryRegularExpression , Path :: new( "RUF055_2.py" ) ) ]
477478 #[ test_case( Rule :: PytestRaisesAmbiguousPattern , Path :: new( "RUF043.py" ) ) ]
478- #[ test_case( Rule :: DataclassEnum , Path :: new( "RUF049.py" ) ) ]
479479 #[ test_case( Rule :: IndentedFormFeed , Path :: new( "RUF054.py" ) ) ]
480480 #[ test_case( Rule :: ImplicitClassVarInDataclass , Path :: new( "RUF045.py" ) ) ]
481481 fn preview_rules ( rule_code : Rule , path : & Path ) -> Result < ( ) > {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments