github / github/codeql

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

Aperta
#5,259 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
false-positive not security Python
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.