github / github/codeql

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

オープン
#7,287 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
false-positive Python
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。