Skip to content
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

Fix invalid E231 error with f-strings #8369

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Fix invalid E231 error with f-strings #8369

merged 1 commit into from
Oct 30, 2023

Conversation

charliermarsh
Copy link
Member

Summary

We were considering the { within an f-string to be a left brace, which caused the "space-after-colon" rule to trigger incorrectly.

Closes #8299.

@charliermarsh charliermarsh merged commit c674db6 into main Oct 30, 2023
16 checks passed
@charliermarsh charliermarsh deleted the charlie/f branch October 30, 2023 23:38
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no linter changes.

@dhruvmanila
Copy link
Member

Thanks!

@bigluck
Copy link

bigluck commented Oct 31, 2023

Thanks so much @charliermarsh !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python Substring: infine loop using ruff v0.1.2
3 participants