github / github/codeql

LGTM.com - false positive Python "Wrong number of arguments for format"

Aperta
#7,068 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
false-positive Python
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

The number of format arguments in our python code is correct. LGTM still reports an issue.

https://lgtm.com/projects/g/frePPLe/frepple/snapshot/6b89289c3b22cc0c42e3253033a18cf870ccbccd/files/freppledb/output/views/buffer.py?sort=name&dir=ASC&mode=heatmap#xa17cfbfa70726cca:1

Maybe the query gets confused with the use of "%%s"?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.