LGTM.com - Python - false positive - Call to a non-callable
オープン
false-positive
Python
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
**Description of the false positive**
It is a type that is being used, not a class instance. Please refer to the `cls: Type['BaseTokenVisitor']` annotation. When the `cls(...` is returned, the `__init__` method is called.
**URL to the alert on the project page on LGTM.com**
https://lgtm.com/projects/g/wemake-services/wemake-python-styleguide/snapshot/d6450eb1d6d1d877dc4243132ff272b09cd21a3d/files/wemake_python_styleguide/visitors/base.py#xfb83a789f0f7fb20:1
コントリビューションガイド
評価
この issue はまだ評価されていません。