Lint2 is a linter work with Django.
Python 3+ Django Flake8
Install using pip!
pip install flake8 django-lint2
Add 'lint2' to your INSTALLED_APPS setting.
INSTALLED_APPS = (
...,
'lint2',
)
Add options of flake8 to your settings.
See flake8 documents (https://flake8.pycqa.org/en/latest/user/configuration.html).
LINT2 = {
'max_line_length': 120,
}