github / github/codeql

LGTM.com - false positive - Python import confusing imported module with itself

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

Beschreibung

LGTM [flags](https://lgtm.com/projects/g/distributed-system-analysis/pbench/snapshot/22b4f0672b3c0e3fa88b7bbcfdaa0c48184b16eb/files/lib/pbench/agent/redis.py?sort=name&dir=ASC&mode=heatmap#x8ec80db25173311c:1) a Python module as importing itself. However, the module being imported is an external package, `redis`, and the module containing the import is at `pbench.agent.redis`, so, while the two modules have the same name, they are not the same module.

Note: this may be related to #5912.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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