github / github/codeql

LGTM.com - false positive - Module is imported with both 'import' and 'import from'

Ouverte
#6,088 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
false-positive Python
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**Description of the false positive**

At least from my eyes I have not been able to see a place where both `import` and `import from` are used for logging.

For built-in logging `import` is used, and for the projects own logging `import from`

**URL to the alert on the project page on LGTM.com**
https://lgtm.com/projects/g/rotki/rotki/snapshot/14ef94331652f0e3911d5f9c364abdeb93db4094/files/rotkehlchen/exchanges/independentreserve.py?sort=name&dir=ASC&mode=heatmap#x8492b90100d77b20:1

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.