Files
codeql/python/ql/test/3/extractor-tests/fstrings3.6/FString.ql
Taus 82057e2e46 Python: Autoformat tests
I guess these were never considered back when we switched to
autoformatting everything.
2024-04-15 15:27:21 +00:00

8 lines
209 B
Plaintext

import python
from Fstring str, int n, Expr e
where
e = str.getValue(n) and
not exists(FormattedValue v | v.getFormatSpec() = str)
select str.getLocation().getStartLine(), str.toString(), n, e.toString()