-
-
Notifications
You must be signed in to change notification settings - Fork 414
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueEntrypoint to the projectEntrypoint to the projecthelp wantedExtra attention is neededExtra attention is neededlevel:starterGood for newcomersGood for newcomers
Description
This code raises a violation:
x = f'single {1}'
y = f'single {1}'When --max-string-usage=1 is provided.
Output:
1:5 WPS226 Found string literal over-use: single > 1
x = f'single {1}'
^
This does not seem right, because strings that are part of f strings should not be counted by WPS226
PR would be rather easy :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueEntrypoint to the projectEntrypoint to the projecthelp wantedExtra attention is neededExtra attention is neededlevel:starterGood for newcomersGood for newcomers