Fix quote types throughout Review Board.
Review Request #14608 — Created Sept. 11, 2025 and updated
This change fixes up all the places where we have incorrect quote types
in the entire codebase.
Ran unit tests.
| Summary | ID |
|---|---|
| qrlomospuluzrvuusyxwqnmqznpusrot |
| Description | From | Last Updated |
|---|---|---|
|
expected 2 blank lines after class or function definition, found 1 Column: 1 Error code: E305 |
|
|
|
The mixing of string types is pretty error-prone. I think for a given multi-line string, we should only use one … |
|
|
|
While here, we should prefix with r. |
|
|
|
Same note here. |
|
|
|
Same note here. |
|
|
|
Same note here. |
|
|
|
Same note here. |
|
|
|
Same note here. |
|
|
|
Same note here and the other strings below. |
|
|
|
Same note here and the other strings below. |
|
|
|
Same note here. |
|
|
|
Same note here. |
|
|
|
Let's revert the backported haystack backends. It's not our code, they're forks of backends in the tree with fixes. We … |
|
|
|
Same note about consistent quotes within one string. Here and below. |
|
- Commits:
-
Summary ID qrlomospuluzrvuusyxwqnmqznpusrot qrlomospuluzrvuusyxwqnmqznpusrot
Checks run (2 succeeded)
- Commits:
-
Summary ID qrlomospuluzrvuusyxwqnmqznpusrot qrlomospuluzrvuusyxwqnmqznpusrot
Checks run (2 succeeded)
-
Overall looks good, and I'm surprised we had so many inconsistent quotes!
I have two main things here, and I point out the important occurrences.
- Mixing quote types within one wrapped string makes editing hard as escaped content wraps. We should be consistent within a string, even if we have to escape.
- We have third-party forks in here that should be left upstream as much as possible. We should limit this work to our own code.
-
The mixing of string types is pretty error-prone. I think for a given multi-line string, we should only use one type. Otherwise editing becomes more of a chore as we re-wrap strings and have to re-escape/re-quote.
-
-
-
-
-
-
-
-
-
-
-
Let's revert the backported haystack backends. It's not our code, they're forks of backends in the tree with fixes. We should keep them as similar as possible so the backported changes don't get lost in a sea of other changes.
-