Skip to content

Update PLE2510, PLE2512-2515 to check in f-strings #7296

@dhruvmanila

Description

@dhruvmanila

PLE2510, PLE2512, PLE2513, PLE2514, and PLE2515 checks for invalid string characters.

The rule needs to be updated to check within the f-string as well. Here, we only need to check within the FStringMiddle token which contains the non-expression part of a f-string.

Metadata

Metadata

Assignees

Labels

python312Related to Python 3.12ruleImplementing or modifying a lint rule

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions