Black for cgx files
Project description
Black-cgx
Format CGX files with black.
Usage
# Install in your environment (for example with poetry)
poetry add -D black-cgx
# Show help for the tool
poetry run black-cgx -h
# By default, will format every cgx file in current folder (recursively)
poetry run black-cgx
# Just check if there would be any changes
poetry run black-cgx --check
# Format just a single file
poetry run black-cgx my-component.cgx
# Format a folder and file
poetry run black-cgx ../folder_with_cgx_files my-component.cgx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
black-cgx-0.1.0.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file black-cgx-0.1.0.tar.gz
.
File metadata
- Download URL: black-cgx-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd521456129dc52435a959f89e9cb0e28ece3ec3169c6a984e01e63116304f2 |
|
MD5 | 14568c96d866316598bc7073385a3ebe |
|
BLAKE2b-256 | 753dc6883591509992c63e86ed56cc42b326716d223994e38a4b5b30b84b8bb9 |
File details
Details for the file black_cgx-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: black_cgx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e396d7c38b0c5257e843e609705aa5049c322fd175aa863d56b7d43cb40ab27a |
|
MD5 | 59b96998ba2dabdad71b27c2e496566f |
|
BLAKE2b-256 | cc871936b6c2a210b5d53523e90cad133e0670286f0ae8d8b265ba5055c3b264 |