django-lint

Static analysis tool for Django projects and applications

Install

All systems
curl cmd.cat/django-lint.sh
Debian Debian
apt-get install python-django-lint
Ubuntu
apt-get install python-django-lint
Windows (WSL2)
sudo apt-get update sudo apt-get install python-django-lint
Raspbian
apt-get install python-django-lint

python-django-lint

Static analysis tool for Django projects and applications

Django Lint is a tool that statically analyses projects and applications that use the Django web development framework. It checks and reports on common programming errors and bad code smells including: * Nullable "CharField" fields * Usage of brittle Django features such as "auto_now_add" * Unspecified recommended options in settings.py, such as an empty 'ADMINS' * (plus many more)