Skip to main content

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

django_migrations_ruff_formatter-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django_migrations_ruff_formatter-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django_migrations_ruff_formatter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4dfc139647d0abc5ec6885fa0d51c571c2bf7a3d258aaaafb94c101d4238561b
MD5 9dfee2ddc3f46b2be90c8bf6c4b7c686
BLAKE2b-256 128691eb864c3a835b1fda4173917d5daf42be4a9fd2d415656fa3c86a058a08

See more details on using hashes here.

File details

Details for the file django_migrations_ruff_formatter-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_migrations_ruff_formatter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d10bc203197fecfb8b7d8718e148bae8b52dfce59ff0f3cc7e386aea92aef7e4
MD5 9a3919da7c24c6b5084428e3d9a5d2bb
BLAKE2b-256 a14af6a430d4782b4b4c0d9072677eb534ac6594ebb8a471be2fa7f9ece32aee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page