percent-format-invalid-format (F501)
Added in v0.0.142 · Related issues · View source
Derived from the Pyflakes linter.
What it does
Checks for invalid printf-style format strings.
Why is this bad?
Conversion specifiers are required for printf-style format strings. These
specifiers must contain a % character followed by a conversion type.
Example
Use instead: