Skip to content

Commit

Permalink
Update snapshots of #15507 with new annotated snipetts rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Jan 17, 2025
1 parent dbfdaad commit 8d4161d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand All @@ -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] = ""
Expand All @@ -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 = ""
Expand All @@ -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 = ""
Expand Down

0 comments on commit 8d4161d

Please sign in to comment.