github / github/codeql

LGTM.com - false positive class may not be initialized properly

未关闭
#5,259 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
false-positive not security Python
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

**Description**

The warning basically says this: "Class TimeOutHTTPAdapter may not be initialized properly as method BaseAdapter.__init__ is not called from its __init__ method.", where TimeOutHTTPAdapter is a subclass of HttpAdapter and that one is another subclass of BaseAdapter, all those classes are being correctly initialized by calling the __init__ method but LGTM.com doesn't recognize that, one thing is that maybe is because the first class TimeOutHTTPAdapter it's a project class and the other 2 are classes inside a library.

**https://lgtm.com/projects/g/rsksmart/lumino/snapshot/28f42bfd334b5c1b708b3470804185cf3d81f6c5/files/tools/scenario-player/scenario_player/utils.py?sort=name&dir=ASC&mode=heatmap#xb094a3d8ad865534:1**

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。