bad-string-format-type
: only works on old-style string formatting and can't infer values
#6163
Labels
Bug 🪲
False Negative 🦋
No message is emitted but something is wrong with the code
Good first issue
Friendly and approachable by new contributors
Hacktoberfest
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Bug description
Two issues with
bad-string-format-type
:bad-format-character
thebad-string-format-type
message is currently only raised for old-style string formatting.Given a file
a.py
:Configuration
Command used
Pylint output
Expected behavior
All of the examples should raise the message.
Pylint version
OS / Environment
macOS BigSur 11.6
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: