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)
Built Distribution
Close
Hashes for forge_format-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b36140a55339b4c949b39a7a11ac3caf16227aae90b535d36f50e589030b66e |
|
MD5 | 14fd505d46c2c7160425eaf36100c9dd |
|
BLAKE2b-256 | ab7a8b222cfa53d5810d508ee32b0ac68e1060e6d5bf3c2763b99b33aa12968f |