Add uv-pre-commit hooks for dependency management
This commit is contained in:
@@ -56,3 +56,12 @@ repos:
|
|||||||
args: [--fix]
|
args: [--fix]
|
||||||
# Run the formatter.
|
# Run the formatter.
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
########################################################
|
||||||
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
||||||
|
# uv version.
|
||||||
|
rev: 0.8.3
|
||||||
|
hooks:
|
||||||
|
- id: uv-lock
|
||||||
|
- id: uv-export
|
||||||
|
- id: pip-compile
|
||||||
|
args: [requirements.in, -o, requirements.txt]
|
||||||
|
|||||||
Reference in New Issue
Block a user