djangolint icon indicating copy to clipboard operation
djangolint copied to clipboard

Django Lint

Introduction

Djangolint is the tool to detect django deprecated and non-optimal code in django projects and apps.

Installation

  1. Clone repo
  2. Run pip install -r requirements/development.txt in your virtualenv
  3. Run python project/manage.py syncdb --migrate
  4. Run python project/manage.py runserver
  5. Run in another tab python project/manage.py celeryd
  6. Open in your browser http://localhost:8000/
  7. Set your GitHub app credentials in environment variables: GITHUB_ID and GITHUB_SECRET
  8. Enjoy :)

Deployment

  1. Setup your server settings in fabfile (Ubuntu 11.04 only tested)
  2. Run fab bootstrap provision deploy

Todo

  1. Propose replacement for bad code in analysis results
  2. Create more analyzers