github / github/codeql

LGTM.com - false positive with relative import

Aberta
#7,978 1 comentário 0 reações 0 responsáveis Ver no GitHub
false-positive not security Python
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.