Skip to content

Pre commit

Maintenance of the file

Manually check the latest release versions

For

  • pre-commit hooks versions
  • yelp detect-secrets

  • open the repo link

  • go to releases
  • get the latest stable version

Match the uv versions of the tools

For repos:

  • uv itself
  • ruff
  • pyright
  • nbstripout

  • update the tool with uv

uv lock --upgrade-package ruff
uv lock --upgrade-package pyright
  1. run the command to get the version
uv run ruff --version
uv run pyright --version
  1. update the rev in the precommit file (note that some revs have a "v" prefix)