Charlie Marsh
dea65536e9
Fix placement for comments within f-strings concatenations (#7047)
## Summary
Restores the dangling comment handling for f-strings, which broke with
the parenthesized expression code.
Closes https://github.com/astral-sh/ruff/issues/6898.
## Test Plan
`cargo test`
No change in any of the similarity indexes or changed file counts:
| project | similarity index | total files | changed files |
|--------------|------------------:|------------------:|------------------:|
| cpython | 0.76083 | 1789 | 1632 |
| django | 0.99957 | 2760 | 67 |
| transformers | 0.99927 | 2587 | 468 |
| twine | 0.99982 | 33 | 1 |
| typeshed | 0.99978 | 3496 | 2173 |
| warehouse | 0.99818 | 648 | 24 |
| zulip | 0.99942 | 1437 | 32 |
2023-09-01 16:27:32 +00:00
..
2023-09-01 16:27:32 +00:00
2023-08-31 09:19:45 +02:00
2023-08-25 16:51:07 -04:00
2023-08-30 09:52:51 -04:00
2023-08-28 08:09:17 +00:00
2023-07-18 18:27:46 +00:00
2023-08-31 20:55:05 +00:00
2023-08-27 14:12:51 -04:00
2023-08-27 14:12:51 -04:00
2023-08-04 11:52:26 +00:00
2023-08-11 10:41:48 +00:00
2023-08-26 14:45:44 +00:00
2023-08-28 08:09:17 +00:00
2023-08-04 11:52:26 +00:00
2023-08-31 07:40:03 +00:00
2023-06-20 16:49:21 +00:00
2023-08-27 14:12:51 -04:00