github / github/codeql

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

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

Descrizione

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.

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.