github / github/codeql

LGTM.com - false positive for python Variable defined multiple times

Open
#9,781 1 comment 0 reactions 0 assignees View on GitHub
false-positive not security Python
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the false positive**

Variable is initially set to None and then is redefined. There is no case when it is defined multiple times

**URL to the alert on the project page on LGTM.com**

https://lgtm.com/projects/g/MrBartusek/corkus.py/snapshot/715c9b8fa5b4d78d90818b5390b5d398fdfd2e2a/files/corkus/objects/item.py?sort=name&dir=ASC&mode=heatmap#x56336cd76352da46:1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.