Skip to content

Commit b4dcbee

Browse files
committed
📦🔇 Filter out mutable reference warnings in deps-update
1 parent 65d748b commit b4dcbee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎project_name/justfile.jinja‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ deps-update: && deps-list-outdated
3535
uv sync --upgrade
3636
uv run -- \
3737
pre-commit autoupdate -j \
38-
"$( (uname -s | grep -q Linux && nproc) || (uname -s | grep -q Darwin && sysctl -n hw.ncpu) || echo 1 )"
38+
"$( (uname -s | grep -q Linux && nproc) || (uname -s | grep -q Darwin && sysctl -n hw.ncpu) || echo 1 )" \
39+
| grep -v 'appears to be a mutable reference'
3940
uvx sync-with-uv
4041
uvx sync-pre-commit-deps --yaml-mapping 2 --yaml-sequence 4 --yaml-offset 2 .pre-commit-config.yaml || { \
4142
echo "Note: '.pre-commit-config.yaml' changed, and might lost its formatting." \

0 commit comments

Comments
 (0)