No project description provided
Project description
Sortie
An opinionated way to formatting your pyproject.toml files. Built in rust, ontop of taplo.
Should you use this?
In general, using taplo will probably be more suitable for typical
workflow. The primary purpose of this python package is for easy integration with Python-based CICD pipelines
for the sole purpose of formatting pyproject.toml
files.
Usage
$ sortie
pyproject.toml left unchanged.
Or with the --check
argument as part of your CICD pipeline
$ sortie --check
pyproject.toml would be formatted!
Options
You may modify the behaviour of the formatter by setting the configuration in your pyproject.toml
file. Sortie uses the [tool.sortie]
section of your file. For full options refer to
formatter options. Compared with
taplo, by default reorder_arrays = true
and reorder_keys = true
are automatically set.
An example pyproject.toml
file is shown below.
[tool.sortie]
reorder_arrays = true
reorder_keys = true
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 Distributions
Built Distribution
Hashes for sortie-0.1.0-py3-none-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff73e8778b2895163023fa2e7e6df38e809f693e1471d7654b811b4db6a6076e |
|
MD5 | 49251fe5bf3eac222b7b7c2887efd524 |
|
BLAKE2b-256 | 88f9ce87d69c5d969b3d1b20fcbb9ac9482eb3f5d3ea98e04576ba614c67a7d2 |