github / github/codeql

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

Offen
#7,068 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
false-positive Python
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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"?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.