Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1052·rye

Add pre-commit hook for `rye lock`

Author: Jeffrey-LimCreated Apr 26, 2024Updated Jan 31, 2025

Add a pre-commit hook that simply runs rye lock to ensure that requirements.lock is up to date with pyproject.toml. This is supposed to act similarly to the poetry-lock pre-commit hook.

Source: astral-sh/rye

View original on GitHubView discussion on GitHub