prospector-dev/prospector

[BUG] False positive E231 error in pycodestyle

Opened this issue · 3 comments

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

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

@Pierre-Sassoulas sure I'll add it tomorrow

@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)