False positive for logging-fstring-interpolation
#4984
Labels
False Positive 🦟
A message is emitted but nothing is wrong with the code
Minor 💅
Polishing pylint is always nice
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
When using f-string without arguments in a logging message, Pylint would warn me about not using lazy % formatting, even though I do use it.
a.py:
output:
ERROR:root:Hello World!
Configuration
No response
Command used
Pylint output
Expected behavior
Report only
f-string-without-interpolation
Pylint version
OS / Environment
Manjaro Linux, Kernel 5.10
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: