github / github/codeql

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

未关闭
#5,913 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
false-positive Python
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。