github / github/codeql

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

Đang mở
#7,287 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
false-positive Python
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.