github / github/codeql

LGTM.com - false positive - class with `__call__()` method identified as non-callable

Abierto
#7,287 2 comentarios 0 reacciones 0 asignados Ver en GitHub
false-positive Python
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

**Description of the false positive**

Class [`Fixture`](https://github.com/zarr-developers/zarr-python/blob/e6483f926f322496660847988f27e326bd54cea1/zarr/tests/test_util.py#L191) defines a [`__call__()`](https://github.com/zarr-developers/zarr-python/blob/e6483f926f322496660847988f27e326bd54cea1/zarr/tests/test_util.py#L197) method:

https://github.com/zarr-developers/zarr-python/blob/e6483f926f322496660847988f27e326bd54cea1/zarr/tests/test_util.py#L191-L200

Yet it is identified as non-callable.

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

https://lgtm.com/projects/g/zarr-developers/zarr-python/snapshot/f0dba6e43b6211c9063817d0b6a3a4c4f196fa79/files/zarr/util.py?sort=name&dir=ASC&mode=heatmap#x6ef5147d2db24535:1

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.