From dbb2efdb878a07cade1e2d0f77c86435fa445aa2 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Fri, 17 Jan 2025 10:39:15 +0100 Subject: [PATCH] Update snapshots of #15507 with new annotated snipetts rendering (#15546) --- ...ter__rules__pylint__tests__PLR6301_no_self_use.py.snap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ruff_linter/src/rules/pylint/snapshots/ruff_linter__rules__pylint__tests__PLR6301_no_self_use.py.snap b/crates/ruff_linter/src/rules/pylint/snapshots/ruff_linter__rules__pylint__tests__PLR6301_no_self_use.py.snap index 124d70f358..74818fdb39 100644 --- a/crates/ruff_linter/src/rules/pylint/snapshots/ruff_linter__rules__pylint__tests__PLR6301_no_self_use.py.snap +++ b/crates/ruff_linter/src/rules/pylint/snapshots/ruff_linter__rules__pylint__tests__PLR6301_no_self_use.py.snap @@ -39,7 +39,7 @@ no_self_use.py:103:9: PLR6301 Method `validate_y` could be a function, class met no_self_use.py:128:9: PLR6301 Method `non_simple_assignment` could be a function, class method, or static method | 126 | # Errors -127 | +127 | 128 | def non_simple_assignment(self): | ^^^^^^^^^^^^^^^^^^^^^ PLR6301 129 | msg = foo = "" @@ -49,7 +49,7 @@ no_self_use.py:128:9: PLR6301 Method `non_simple_assignment` could be a function no_self_use.py:132:9: PLR6301 Method `non_simple_assignment_2` could be a function, class method, or static method | 130 | raise NotImplementedError(msg) -131 | +131 | 132 | def non_simple_assignment_2(self): | ^^^^^^^^^^^^^^^^^^^^^^^ PLR6301 133 | msg[0] = "" @@ -59,7 +59,7 @@ no_self_use.py:132:9: PLR6301 Method `non_simple_assignment_2` could be a functi no_self_use.py:136:9: PLR6301 Method `unused_message` could be a function, class method, or static method | 134 | raise NotImplementedError(msg) -135 | +135 | 136 | def unused_message(self): | ^^^^^^^^^^^^^^ PLR6301 137 | msg = "" @@ -69,7 +69,7 @@ no_self_use.py:136:9: PLR6301 Method `unused_message` could be a function, class no_self_use.py:140:9: PLR6301 Method `unused_message_2` could be a function, class method, or static method | 138 | raise NotImplementedError("") -139 | +139 | 140 | def unused_message_2(self, x): | ^^^^^^^^^^^^^^^^ PLR6301 141 | msg = ""