patch the migration maker to use ruff if available
Project description
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
uv add --dev 'django-migrations-ruff-formatter>=0.1.0'
or if you're living under a rock...
pip install django-migrations-ruff-formatter
and in your settings, add this
INSTALLED_APPS = [
# ...
'django_migrations_ruff_formatter.apps.RuffFormatter',
]
Use
Just like before:
uv run ./manage.py makemigrations
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_migrations_ruff_formatter-0.1.1.tar.gz.
File metadata
- Download URL: django_migrations_ruff_formatter-0.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dfc139647d0abc5ec6885fa0d51c571c2bf7a3d258aaaafb94c101d4238561b
|
|
| MD5 |
9dfee2ddc3f46b2be90c8bf6c4b7c686
|
|
| BLAKE2b-256 |
128691eb864c3a835b1fda4173917d5daf42be4a9fd2d415656fa3c86a058a08
|
File details
Details for the file django_migrations_ruff_formatter-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_migrations_ruff_formatter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d10bc203197fecfb8b7d8718e148bae8b52dfce59ff0f3cc7e386aea92aef7e4
|
|
| MD5 |
9a3919da7c24c6b5084428e3d9a5d2bb
|
|
| BLAKE2b-256 |
a14af6a430d4782b4b4c0d9072677eb534ac6594ebb8a471be2fa7f9ece32aee
|