Skip to content

Update logical line rules for the new f-string tokens #7691

@dhruvmanila

Description

@dhruvmanila
  • Ignore E225 for the = operator
  • Ignore E231 for the : operator
  • Ignore E201, E202 for { and } tokens

I think these shouldn't be blocking for the release as the rules are in preview but also it's difficult to differentiate between usages of certain tokens (:, {) in the context of f-strings.

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