Update snapshots of #15507 with new annotated snipetts rendering (#15546)

This commit is contained in:
Micha Reiser 2025-01-17 10:39:15 +01:00 committed by GitHub
parent dbfdaaded1
commit dbb2efdb87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = ""