Skip to content

Commit ae936c2

Browse files
correct uv sync commands and update nbwipers
1 parent 7eb69f6 commit ae936c2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

template/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: ruff-format
1818
types_or: [python, pyi, jupyter]
1919
- repo: https://github.com/felixgwilliams/nbwipers-pre-commit
20-
rev: v0.6.0
20+
rev: v0.6.1
2121
hooks:
2222
- id: nbwipers-check-install
2323
- id: nbwipers-large-files

template/justfile.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ setup: install git-setup
99

1010
# install the packages
1111
install:
12-
{% raw %}{{if path_exists("uv.lock") != "true" {"uv sync --all-groups --all-extras --inexact"} else {"uv sync --dev --all-extras --locked --inexact"} }}{% endraw %}
12+
{% raw %}{{if path_exists("uv.lock") != "true" {"uv sync --all-groups --all-extras --inexact"} else {"uv sync --all-groups --all-extras --locked --inexact"} }}{% endraw %}
1313

1414
# ensure code quality before git commit via pre-commit and nbwipers
1515
git-setup: install

template/pyproject.toml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ default-groups = ["dev", "lint"]
3333

3434
[dependency-groups]
3535
dev = [
36-
"nbwipers>=0.6.0",
36+
"nbwipers>=0.6.1",
3737
"pytest>=8",
3838
"pytest-cov>=6.0.0",
3939
"pre-commit>=4.1.0",

template/{% if github_actions %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
python-version-file: ".python-version"
2929
- name: Install the project
30-
run: uv sync --only-group lint
30+
run: uv sync --only-group lint --frozen
3131
- name: check format
3232
run: uv run ruff format --check --diff .
3333
- name: check lints
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
python-version-file: ".python-version"
4545
- name: Install the project
46-
run: uv sync --all-extras --all-groups
46+
run: uv sync --all-extras --all-groups --frozen
4747
- name: unit tests
4848
run: |
4949
set -o pipefail && \

0 commit comments

Comments
 (0)