I have the structure:
 |- file run_app.py
 |- folder 'tasks'
 |-- file app.py
There is a string in run_app.py:
import tasks.app
And pylint alerts that
run_app.py:8:0: E0611: No name 'app' in module 'tasks' (no-name-in-module)
When I rename tasks to taskss, the error disappears. Whats this? How to fix this strange behavior if I want to name the folder exactly 'tasks'?
 
     
     
    