[Django]-Pylint doesn't report wrong import order when using Django

2๐Ÿ‘

โœ…

I found that the wrong import order warning is only shown if I specify a directory name on the command line that is a Python package (has a file called init.py).

This is not the case for the main Django directory, only for its subdirectories. So I have to specify all subdirectories (Django apps) as arguments. Example:

cd app
pylint feature_one
๐Ÿ‘คatlau

Leave a comment