This question already has an answer here:
- PyLint message: logging-format-interpolation 1 answer
I am using prospector to examine my code. Pylint returned a logging-not-lazy
warning about my debug message.
Line: 31
pylint: logging-not-lazy / Specify string format arguments as logging function parameters (col 16) Line: 42
pylint: logging-not-lazy / Specify string format arguments as logging function parameters (col 12)
My code is:
logging.debug("detect mimetypes faild because %s" % e )
How do I fix logging-not-lazy
in pylint?