←back to thread

620 points tambourine_man | 1 comments | | HN request time: 0.214s | source
Show context
pragma_x ◴[] No.43750845[source]
Debate around the usefulness aside, are there any linter rules for warning about f-strings in light of this? I can easily see where mistaking one for the other would cause problems. For context, I'm thinking specifically about tools like Black and MyPy.
replies(2): >>43751430 #>>43752295 #
1. sanderjd ◴[] No.43751430[source]
This will be trivial to implement (it is just a check against the type that t-strings return), so I'm sure it will be done, if it hasn't already.