Skip to content

Commit

Permalink
MAINT: update lock files and dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 18, 2024
1 parent f9e8cd6 commit bdc8bc0
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 65 deletions.
11 changes: 11 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -ex
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--extra jupyter \
> requirements.txt
uv pip install \
--requirement requirements.txt \
--system
uv cache clean
1 change: 1 addition & 0 deletions .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.12
1 change: 1 addition & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- epic/*
paths:
- .pre-commit-config.yaml
- uv.lock
workflow_dispatch:

jobs:
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ci:
autoupdate_commit_msg: "MAINT: update lock files"
autoupdate_schedule: quarterly # already done by requirements-cron.yml
autoupdate_schedule: quarterly
skip:
- pyright
- uv-lock
Expand All @@ -12,7 +12,7 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.5.0rc5
rev: 0.5.0rc10
hooks:
- id: colab-toc-visible
- id: check-dev-files
Expand All @@ -23,7 +23,7 @@ repos:
- id: remove-empty-tags

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix]
Expand Down Expand Up @@ -74,11 +74,11 @@ repos:
)$
- repo: https://github.com/ComPWA/pyright-pre-commit
rev: v1.1.384
rev: v1.1.385
hooks:
- id: pyright

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.4.22
rev: 0.4.24
hooks:
- id: uv-lock
Loading

0 comments on commit bdc8bc0

Please sign in to comment.