Skip to content

Python 3.12.0 raises incorrect E231 in fstring #233

@eXhumer

Description

@eXhumer

I have made a 3.11.6 & 3.12.0 venv's and installed flake8 on both with pip install --upgrade flake8. I then added a fstring with : in a script, VSCode incorrectly reports E231 (missing whitespace after ':') in the 3.12.0 environment, while no such error is reported on 3.11.6.

image

This is a vscode-flake8 and not a flake8 issue as there is no E231 reported by flake8 command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions