Skip to main content

Formatting library for Forge

Project description

A unified, opinionated code formatting command for Django projects.

Uses black and isort to format Python code.

Installation

Django + Forge Quickstart

If you use the Forge Quickstart, everything you need will be ready and available as forge format.

Install for existing Django projects

First, install forge-format from PyPI:

pip install forge-format

Then add it to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
    ...
    "forgeformat",
]

Now you will have access to the format command:

python manage.py format

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

forge-format-0.3.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

forge_format-0.3.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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