Skip to content

Commit 93e8ef9

Browse files
authored
ci: añade uv lock a pre-commit (#56)
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
1 parent 05941a2 commit 93e8ef9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55

6+
.pixi/
67
.vscode/
78

89
# C extensions
@@ -156,4 +157,5 @@ Icon
156157
.AppleDesktop
157158
Network Trash Folder
158159
Temporary Items
159-
.apdisk
160+
.apdisk
161+
node_modules

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ repos:
5858
hooks:
5959
- id: prettier
6060
types_or: [markdown, yaml]
61+
- repo: https://github.com/astral-sh/uv-pre-commit
62+
# uv version.
63+
rev: 0.4.9
64+
hooks:
65+
# Update the uv lockfile
66+
- id: uv-lock

0 commit comments

Comments
 (0)