Skip to content

RUF001 isn't highlighted for implicitly concatenated f-string #10310

@dhruvmanila

Description

@dhruvmanila

Given:

x = '𝐁ad' f'𝐁ad string'
#           ^
#           Ruff only highlights this

Ruff only highlights the bad character from the second part of the implicitly concatenated string.

https://play.ruff.rs/16071c4c-a1dd-4920-b56f-e2ce2f69c843

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglinterRelated to the linter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions