Skip to main content

utility for python additional_dependencies updates in pre-commit

Project description

upadup!

upadup -- Utility for Python additional_dependencies Updates in Pre-Commit

Why?

pre-commit is great, and pre-commit autoupdate is also great. However, what's not great is that pre-commit autoupdate cannot update your additional_dependencies lists.

upadup is a supplemental tool which knows how to handle specific common cases.

Usage

upadup will only update additional_dependencies items which are pinned to specific versions, and only for known python hooks and their dependencies.

Simply cd myrepo; upadup!

upadup will try to update all additional_dependencies for all hooks.

Configuration

upadup supports TOML configuration in one of two files: .upadup.toml or pyproject.toml. These files are always checked in the current working directory.

In both cases, config is a table in [tool.upadup] with the following keys:

  • skip_repos: an array of strings, exact names of repos to skip

For example:

[tool.upadup]
skip_repos = ["https://github.com/PyCQA/flake8"]

The Meaning of "upadup"

Update python additional depenedencies uh... pre-commit!

Unacceptable puns accosting durable urban pachyderms

Unbelievably playful, awesome, deterministic update program

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

upadup-0.4.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upadup-0.4.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file upadup-0.4.0.tar.gz.

File metadata

  • Download URL: upadup-0.4.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for upadup-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8d9384ba6e66f10a4320d801f7283a12b81fa4eda79e8d0866d86fb8f706b0c1
MD5 1d37bd996d9df5f501d6c03ad6e3c3aa
BLAKE2b-256 1b7d951436183d6c7c1637d8bd3d40166cb1eb2077cc8a1d48ee6665a643bd3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for upadup-0.4.0.tar.gz:

Publisher: publish_to_pypi.yaml on sirosen/upadup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file upadup-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: upadup-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for upadup-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04f26e2b1cf76b2ba6c4336fee8f226771e29413d47adf7f3025f3d471f1d566
MD5 ce9e912b340e5f127b74628bf260efd8
BLAKE2b-256 5fd41addad2f9f0b1575202d081b6c12b039b48fe6b6805ef3e0ee0f178bcb9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for upadup-0.4.0-py3-none-any.whl:

Publisher: publish_to_pypi.yaml on sirosen/upadup

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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