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 flake8 error from upcoming Python 3.12 #2893

Merged
merged 3 commits into from
Oct 3, 2023
Merged

Conversation

benclifford
Copy link
Collaborator

In Python 3.12, f-strings vs flake8 has more whitespace checking, in line with whitespace checking in other Python expressions, as part of a broader rationalisation of f-string implementation:
https://docs.python.org/3.12/whatsnew/3.12.html#whatsnew312-pep701

Type of change

  • Code maintentance/cleanup

In Python 3.12, f-strings vs flake8 has more whitespace checking, in line
with whitespace checking in other Python expressions, as part of a broader
rationalisation of f-string implementation:
https://docs.python.org/3.12/whatsnew/3.12.html#whatsnew312-pep701
@benclifford benclifford merged commit b32147f into master Oct 3, 2023
4 checks passed
@benclifford benclifford deleted the benc-flake8-fstr branch October 3, 2023 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant