You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Django projects directory structure is:
.
├── config
├── element
├── home
├── static
├── templates
├── tree
└── user
I wanted to use the following pylint command: pylint --load-plugins=pylint_django --ignore=static,templates */
Result with errors:
************* Module static/__init__.py
static/__init__.py:1:0: F0001: No module named static/__init__.py (fatal)
************* Module templates/__init__.py
templates/__init__.py:1:0: F0001: No module named templates/__init__.py (fatal)
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
When i run pylint --ignore=static,templates */
The result is (shortened):
As you can see, if i use 'pylint_django'-plugin, the result gives an error for the missing init.py inside the ignored directories. It seems like it recognized to ignore these directories because the score gets a 10, but it tries to find the init.py and show an error if missing.
I don't think that is the right behavior.
The text was updated successfully, but these errors were encountered:
My Django projects directory structure is:
.
├── config
├── element
├── home
├── static
├── templates
├── tree
└── user
I wanted to use the following pylint command:
pylint --load-plugins=pylint_django --ignore=static,templates */
Result with errors:
When i run
pylint --ignore=static,templates */
The result is (shortened):
As you can see, if i use 'pylint_django'-plugin, the result gives an error for the missing init.py inside the ignored directories. It seems like it recognized to ignore these directories because the score gets a 10, but it tries to find the init.py and show an error if missing.
I don't think that is the right behavior.
The text was updated successfully, but these errors were encountered: