Sort uv's dependencies alphabetically
Project description
uv-sort
Sort uv's dependencies alphabetically.
Installation
pip install uv-sort
# or
uv add uv-sort
Usage
$ uv-sort --help
Usage: uv-sort [OPTIONS] PATH...
$ uv-sort pyproject.toml
pre-commit
repos:
- repo: https://github.com/ninoseki/uv-sort
rev: v0.1.0
hooks:
- id: uv-sort
lefthook
pre-commit:
commands:
uv-sort:
run: uv-sort {staged_files}
glob: "pyproject.toml"
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
uv_sort-0.1.0.tar.gz
(14.9 kB
view hashes)