Skip to content

LGTM.com - false positive #7709

@arvidn

Description

@arvidn

in Python, using a variable in an f-string is not recognized.

At least in the "Variable defined multiple times"-checker. It's claiming a variable isn't used before it's re-defined, but it is. It's used in an f-string. Perhaps codeql isn't parsing f-strings.

https://lgtm.com/projects/g/arvidn/libtorrent/snapshot/e89e7945a94cf26463dbf08349d268ced506b309/files/tools/linux_vmstat.py?sort=name&dir=ASC&mode=heatmap#x320f593af4371445:1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions