|
|
|
|
|
by nomel
1517 days ago
|
|
To play devils advocate, that's a matter of perspective. There's nothing special about "{text}". It's just characters. One could claim that the default analysis should be "that's fine", with the option to make it special available with the "f". ;) But, perhaps you're right, and the total number of bugs would be reduced with f-strings, but that would require making them default back in python 1.0. The linter I use has warnings for things-that-look-like-f-strings on by default. But, some of my projects have f-string like text, so special text to tell the linter to ignore them are required all over the place. |
|