github / github/codeql

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

Aberta
#5,259 2 comentários 0 reações 0 responsáveis Ver no GitHub
false-positive not security Python
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.