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

[BUG] False positive E231 error in pycodestyle #649

Open
gd-akotelevich opened this issue Dec 21, 2023 · 3 comments
Open

[BUG] False positive E231 error in pycodestyle #649

gd-akotelevich opened this issue Dec 21, 2023 · 3 comments
Labels
dependencies Pull requests that update a dependency file enhancement

Comments

@gd-akotelevich
Copy link

gd-akotelevich commented Dec 21, 2023

Pycodestyle module produces false positive E231 on new Python 3.12 f-strings (PEP701)
That was fixed in pycodestyle 2.11.1

Currently used version is 2.10 so just updating pycodestyle to ~2.11 should fix that.

Environment

  • Tool pycodestyle
  • Prospector version 1.10.3
  • Python version 3.12
@Pierre-Sassoulas Pierre-Sassoulas added enhancement dependencies Pull requests that update a dependency file and removed investigate labels Dec 21, 2023
@Pierre-Sassoulas
Copy link
Collaborator

Thank you for the report, do you mind opening a merge request for it ?

@gd-akotelevich
Copy link
Author

@Pierre-Sassoulas sure I'll add it tomorrow

@gd-akotelevich
Copy link
Author

@Pierre-Sassoulas I believe it should be done as part of #645 since it's requiring to have at least Python 3.8 and there was a discussion regarding pycodestyle update (for some reason the actual version of it was even decreased from 2.10.0 to 2.9.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

No branches or pull requests

2 participants