pylint icon indicating copy to clipboard operation
pylint copied to clipboard

Incorrect warning name

Open cr333 opened this issue 3 years ago • 1 comments

logging-fstring-formatting in line 275 of logging.py should probably be logging-fstring-interpolation (see usage in line 265): https://github.com/PyCQA/pylint/blob/360124d8a597422cdc9e94459f87da77d18cbaea/pylint/checkers/logging.py#L263-L277

logging-fstring-formatting is only used once, suggesting it's a mistake. See this search: https://github.com/PyCQA/pylint/search?q=logging-fstring-formatting

cr333 avatar Sep 09 '22 20:09 cr333

Thank you for opening the issue, this indeed seems suspicious.

Pierre-Sassoulas avatar Sep 10 '22 05:09 Pierre-Sassoulas