-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Description of the false positive
From yesterday to today (code wasnt edited) LGTM started giving errors of import own module on __init__.py
files
Code to reproduce
Project tree
pkg/
__init__.py
foo.py
bar.py
foo.py
class Foo:
pass
__init__.py
from pkg.foo import Foo # Error would be given on this line
URL to the alert on the project page on LGTM.com
An example of this can be found here: https://lgtm.com/projects/gl/nekokatt/hikari/snapshot/d58690b44effc0473138015613d32df93d352875/files/hikari/__init__.py?sort=name&dir=ASC&mode=heatmap#xd7e23e37c8aecf57:1
SimonBoothroyd, Ben-Hu, hSaria, patrys, johannfaouzi and 7 more