Add uv-pre-commit hooks
- Added hooks for uv-pre-commit to ensure the lockfile is up-to-date and autoexport uv.lock to requirements.txt. - Added "autoexport" to the cSpell words in the VSCode settings for spell checking.
This commit is contained in:
@ -1,4 +1,11 @@
|
||||
repos:
|
||||
# Ensure the lockfile is up-to-date and autoexport uv.lock to requirements.txt
|
||||
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||
rev: 0.7.12
|
||||
hooks:
|
||||
- id: uv-lock
|
||||
- id: uv-export
|
||||
|
||||
# Automatically add trailing commas to calls and literals.
|
||||
- repo: https://github.com/asottile/add-trailing-comma
|
||||
rev: v3.2.0
|
||||
|
Reference in New Issue
Block a user