Skip to content

Commit 373ea02

Browse files
committed
🔧 Add formatting to the dependency update task.
Note: it will fail, because the formatting is not good enough for auto-commiting
1 parent a237ba8 commit 373ea02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_name/justfile.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ update-deps: && list-outdated-deps
3535
uv sync --upgrade
3636
uv run pre-commit autoupdate -j "$( (uname -s | grep -q Linux && nproc) || (uname -s | grep -q Darwin && sysctl -n hw.ncpu) || echo 1 )"
3737
uvx sync-with-uv
38-
uv run pre-commit run -a sync-pre-commit-deps
38+
uvx sync-pre-commit-deps .pre-commit-config.yaml || { uvx yamlfix .pre-commit-config.yaml && exit 1; }
3939

4040

4141
### code quality ###

0 commit comments

Comments
 (0)