Skip to content

Commit

Permalink
ci: añade uv lock a pre-commit (#56)
Browse files Browse the repository at this point in the history
Esto asegura que el `uv.lock` está siempre actualizado, por si de
casualidad se editara el `pyproject.toml` a mano sin usar `uv add` o `uv
remove`

Closes #55
  • Loading branch information
albertotb authored Oct 9, 2024
1 parent 05941a2 commit 93e8ef9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
*$py.class

.pixi/
.vscode/

# C extensions
Expand Down Expand Up @@ -156,4 +157,5 @@ Icon
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.apdisk
node_modules
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@ repos:
hooks:
- id: prettier
types_or: [markdown, yaml]
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.9
hooks:
# Update the uv lockfile
- id: uv-lock

0 comments on commit 93e8ef9

Please sign in to comment.