github / github/codeql

LGTM.com - false positive with relative import

オープン
#7,978 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
false-positive not security Python
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**Description of the false positive**

LGTM is complaining about `logging` being imported both with plain `import` and with `import ... from`, but the latter is only used for a relative import of a module called `logging`. The standard module of the same name is only imported plainly, on the other hand.

**URL to the alert on the project page on LGTM.com**

https://lgtm.com/projects/g/abrt/retrace-server/snapshot/228913a00605c01b7b85f81f94b368871a429dd8/files/src/retrace/retrace_worker.py?sort=name&dir=ASC&mode=heatmap#xba03ebfb24472c08:1

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。