Metadata-Version: 2.4
Name: django-migrations-ruff-formatter
Version: 0.1.1
Summary: patch the migration maker to use ruff if available
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: ruff>=0.9.0

# django-migrations-ruff-formatter

Patches the Django formatter to use ruff, so you don't have to ignore formatting for your migrations.

## Installation

Add to your project one way or another

```bash
uv add --dev 'django-migrations-ruff-formatter>=0.1.0'
```

or if you're living under a rock...

```bash
pip install django-migrations-ruff-formatter
```

and in your settings, add this

```python
INSTALLED_APPS = [
    # ...
    'django_migrations_ruff_formatter.apps.RuffFormatter',
]
```

## Use

Just like before:

```bash
uv run ./manage.py makemigrations
```
