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