github / github/codeql

LGTM.com - false positive `py/member-test-non-container`

Ouverte
#8,725 2 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**

At the beginning of the function, I immediately return if the data is not `typing.MutableMapping`
But after this check, i got 3 errors `py/member-test-non-container`

**URL to the alert on the project page on LGTM.com**
https://lgtm.com/projects/g/4DNucleome/PartSeg/snapshot/974a508009f06dc539055db215ff6319d39b9c42/files/package/PartSegCore/io_utils.py?sort=name&dir=ASC&mode=heatmap#x1773fda46d4c0a84: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.