You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a string concatenation, the formatter currently determines the quote style for each segment individually, which can result in different segments using different quote styles.
I believe this is consistent with Black, but I don't know that it's the right decision... For example, it means that if you move content between the segments, you may have to change quotes.
We explicitly avoid this in our flake8-quotes rule (#2400). Let's at least consider doing the same here.
The text was updated successfully, but these errors were encountered:
I believe this is consistent with Black, but I don't know that it's the right decision... For example, it means that if you move content between the segments, you may have to change quotes.
To clarify: Do you mean our behavior is consistent with Black or using a single quote style for an entire string is consistent with black?
I prefer keeping it as is, at least for now, to ease adoption coming from black.
Given a string concatenation, the formatter currently determines the quote style for each segment individually, which can result in different segments using different quote styles.
I believe this is consistent with Black, but I don't know that it's the right decision... For example, it means that if you move content between the segments, you may have to change quotes.
We explicitly avoid this in our flake8-quotes rule (#2400). Let's at least consider doing the same here.
The text was updated successfully, but these errors were encountered: