github / github/codeql

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

Đang mở
#5,913 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
false-positive Python
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.