Skip to main content

Sort uv's dependencies alphabetically

Project description

uv-sort

PyPI version

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.1
    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.2.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

uv_sort-0.1.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page