I have an app named "diary" in my Django project:
school_diary/
diary/
<standart files inside app>
views.py
forms.py
Inside my views.py
I make this import:
from . import forms
PyLint marks it as error. Here's what I have inside my settings.json
:
{
...,
"python.linting.enabled": true,
"on.linting.pylintEnabled": true,
"python.linting.lintOnSave": true,
"python.linting.maxNumberOfProblems": 200,
"python.linting.pylintPath": "/home/alantheknight/Python/Environments/secenv/bin/pylint",
"python.pythonPath": "/home/alantheknight/Python/Environments/secenv/bin/python3.7",
...
Also, I read about generating .pylintrc
, so I ran this command:
$ pylint --generate-rcfile > ~/.pylintrc
Where have I made a mistake?