django-code-quality-rules
Installation
SKILL.md
Django Code Quality Rules
When to Use
- Starting a new Django project
- Setting up linting and pre-commit hooks
- Enforcing code quality standards in an existing project
Django Backend Rules
1. Ruff Configuration
MUST HAVE in pyproject.toml:
[tool.ruff]
line-length = 79
target-version = "py311"
extend-exclude = ["**/migrations/*.py"]