github / github/codeql

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

Offen
#5,259 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
false-positive not security Python
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.