github / github/codeql

LGTM.com - false positive non-iterable type

Ouverte
#5,364 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
false-positive Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**Description of the false positive**

`Non-iterable of class 'int' may be used in for-loop.` despite the lines above asserting that the variable is iterable; also the variable is never type hinted as `int`, I'm not sure where it is getting `int` from.

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

https://lgtm.com/projects/g/this-josh/felling/snapshot/13298590cd6d51b7a12fe217c4431d6f5d8dc035/files/felling/src/configure_felling.py?sort=name&dir=ASC&mode=heatmap#x5bfe95a28e9ebef2:1

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.