Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
echo_date() { echo "[$(date +'%Y-%m-%d %H:%M:%S')] $*" >&2; }

# uv
export UV_PRERELEASE='disallow'
if ! command -v uv >/dev/null 2>&1; then
echo_date "ERROR: 'uv' not found" && exit 1
fi
Expand All @@ -14,4 +15,4 @@ if [ -f $activate ]; then
else
uv venv
fi
uv sync --all-extras --all-groups --active --upgrade
uv sync --all-extras --all-groups --active --locked
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/dycw/pre-commit-hook-nitpick
rev: 0.7.6
rev: 0.9.0
hooks:
- args:
- --description=Template for Python packages
Expand Down Expand Up @@ -69,8 +69,12 @@ repos:
- --option
- reorder_keys=true
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.18
rev: 0.9.21
hooks:
- id: uv-lock
args:
- --upgrade
- --resolution
- highest
- --prerelease
- disallow
Loading
Loading