What problem does it solve?
Manually running linting, formatting, and type checks on Django projects is time-consuming, and Django-specific typing quirks with tools like pyrefly often lead to confusing errors or unnecessary type ignore comments that hide real issues.
Core Features & Use Cases
- Full Static Analysis Suite: Runs ruff linting, ruff formatting checks, and pyrefly static type analysis in one unified workflow.
- Auto-Fix & Re-Verification: Automatically resolves all fixable issues and re-runs checks until the codebase is completely clean.
- Django-Specific Guidance: Provides clear, actionable advice for common pyrefly Django edge cases like reverse relations and many-to-many manager typing, avoiding blanket type ignores.
- Use Case: After making changes to a Django service or model, use this skill to validate code quality before committing, ensuring no lint, formatting, or type errors make it into your codebase.
Quick Start
Use the dj-lint skill to run the full static analysis suite on your Django project and fix all reported issues.