-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Stylist
quote detection to use the new f-string tokens
#7293
Comments
dhruvmanila
added
rule
Implementing or modifying a lint rule
python312
Related to Python 3.12
core
Related to core functionality
and removed
rule
Implementing or modifying a lint rule
labels
Sep 12, 2023
dhruvmanila
added a commit
that referenced
this issue
Sep 15, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 18, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 19, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 20, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 22, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 22, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 22, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 26, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 27, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 28, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 29, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
dhruvmanila
added a commit
that referenced
this issue
Sep 29, 2023
## Summary This PR updates `Stylist` quote detection to include the f-string tokens. As f-strings cannot be used as docstrings, we'll skip the check for triple-quoted f-strings. ## Test Plan Add new test cases with f-strings. fixes: #7293
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update the
detect_quote
function to either use theString
orFStringStart
token to detect the quote (single or double).This should probably be enough as the
FStringStart
token contains the prefix and quotes for the f-string:The text was updated successfully, but these errors were encountered: