No project description provided
Project description
Sortie
An opinionated tool for formatting your pyproject.toml
files. Built in Rust and based on
taplo.
Should you use this?
Generally, using taplo would probably be more suitable for the typical
workflow. The primary purpose of this Python package is to facilitate easy integration with Python-based CI/CD pipelines
solely for formatting pyproject.toml
files.
Usage
$ sortie
pyproject.toml left unchanged.
Or, with the --check
argument as part of your CI/CD pipeline:
$ sortie --check
pyproject.toml would be formatted!
Options
You can modify the behavior of the formatter by setting the configuration in your pyproject.toml
file. Sortie utilizes 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.
Here is an example pyproject.toml
file:
[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 Distribution
Built Distributions
File details
Details for the file sortie-0.1.1.tar.gz
.
File metadata
- Download URL: sortie-0.1.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7890a558c66a7e696a0e329bcdf1ab33d6804be001a30bac7bb520386b18dae |
|
MD5 | 356854f50668d115665df784df3e863f |
|
BLAKE2b-256 | e19aad2b20cae9057c618b8576d6c4e779f550b4bea46fb0810c44c77533c47b |
File details
Details for the file sortie-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: sortie-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 22.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af94f651f279a56ba913fc0f599422cd567ec2ac1474e9d032f7ef66c0461c76 |
|
MD5 | 82d1ab0e05ed16ba298b83c4689ebb9d |
|
BLAKE2b-256 | 9a2efca2b8bbac021d12e35818eea2db41b8c194e7b34e15acbc38d5ab6c77da |
File details
Details for the file sortie-0.1.1-py3-none-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: sortie-0.1.1-py3-none-macosx_10_7_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64d0062938e8832f486b1c416da7192a3acb0407d89a00c113dc8536c75fcff |
|
MD5 | c2b020a22b00ca28b97ee11c9be3e5fd |
|
BLAKE2b-256 | 6dd597c7fad8521c2b2809cb5dfa34c321cd732b261a8776009068d2311b5e8a |