Skip to content

Commit b7b70b6

Browse files
committed
🔧 Update project from python-template v0.24.1
1 parent 131c8b4 commit b7b70b6

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

‎.copier-answers.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: v0.24.0
2+
_commit: v0.24.1
33
_src_path: gh:tsvikas/python-template
44
cli_framework: none
55
format_tool: black

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ jobs:
6060
- name: Install packages
6161
run: >-
6262
uv sync
63+
--exact
6364
--all-extras
6465
--no-default-groups
6566
--group typing
6667
--group test
67-
--exact
6868
--locked
6969
- name: List packages
7070
run: uv pip list
@@ -81,9 +81,9 @@ jobs:
8181
- name: Install packages
8282
run: >-
8383
uv sync
84+
--exact
8485
--all-extras
8586
--all-groups
86-
--exact
8787
--locked
8888
- name: List packages
8989
run: uv pip list
@@ -137,10 +137,10 @@ jobs:
137137
id: install_packages
138138
run: >-
139139
uv sync
140+
--exact
140141
--all-extras
141142
--no-default-groups
142143
--group test
143-
--exact
144144
${{ matrix.resolution == 'locked' && '--locked'
145145
|| matrix.resolution == 'lowest' && '--upgrade --resolution lowest-direct'
146146
|| matrix.resolution == 'highest' && '--upgrade --resolution highest'
@@ -192,10 +192,10 @@ jobs:
192192
id: install_packages
193193
run: >-
194194
uv sync
195+
--exact
195196
--all-extras
196197
--no-default-groups
197198
--group test
198-
--exact
199199
${{ matrix.resolution == 'locked' && '--locked'
200200
|| matrix.resolution == 'lowest' && '--upgrade --resolution lowest-direct'
201201
|| matrix.resolution == 'highest' && '--upgrade --resolution highest'
@@ -225,9 +225,9 @@ jobs:
225225
- name: Install packages
226226
run: >-
227227
uv sync
228+
--exact
228229
--all-extras
229230
--no-default-groups
230-
--exact
231231
--locked
232232
- name: List packages
233233
run: uv pip list

‎.github/workflows/weekly-ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- name: Install packages
3131
run: >-
3232
uv sync
33+
--exact
3334
--all-extras
3435
--no-default-groups
3536
--group test
36-
--exact
3737
--upgrade
3838
--resolution highest
3939
- name: List packages
@@ -100,9 +100,9 @@ jobs:
100100
- name: Install packages
101101
run: >-
102102
uv sync
103+
--exact
103104
--all-extras
104105
--all-groups
105-
--exact
106106
--locked
107107
- name: List packages
108108
run: uv pip list

‎justfile‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ deps-update: && deps-list-outdated
4444

4545
# Audit dependencies
4646
deps-audit:
47-
uv run --all-extras --all-groups --with pip-audit -- \
47+
uv run --exact --all-extras --all-groups --with pip-audit -- \
4848
pip-audit \
4949
--ignore-vuln GHSA-4xh5-x5gv-qwph \
5050
--skip-editable
@@ -83,26 +83,26 @@ format:
8383
# Run linters
8484
lint:
8585
uv run ruff check
86-
uv run dmypy run
87-
uv run --all-extras --all-groups --with deptry -- deptry src/
86+
uv run --exact --all-extras -- dmypy run
87+
uv run --exact --all-extras --all-groups --with deptry -- deptry src/
8888
uv sync --exact
8989
uv run pre-commit run --all-files
9090

9191
# Run Pylint (slow, not used in other tasks)
9292
pylint:
93-
uv run --with pylint -- pylint src
93+
uv run --exact --with pylint -- pylint src
9494
uv sync --exact
9595

9696
# Run tests with pytest
9797
test:
98-
uv run --all-extras --exact --no-default-groups --group test \
98+
uv run --exact --all-extras --no-default-groups --group test \
9999
--reinstall-package hebrew_numbers -- pytest
100100
uv sync --exact
101101

102102
# Run tests with pytest, using resolution lowest-direct
103103
test-lowest python:
104104
mv uv.lock uv.lock.1
105-
uv sync --all-extras --exact --no-default-groups --group test \
105+
uv sync --exact --all-extras --no-default-groups --group test \
106106
--upgrade --resolution lowest-direct --python {{python}} \
107107
--reinstall-package hebrew_numbers
108108
mv uv.lock.1 uv.lock
@@ -146,18 +146,18 @@ _tag-skip-check version commit: (_assert-legal-version version)
146146
# Generate reference pages from docstrings
147147
build-docs-ref:
148148
rm -rf docs/reference
149-
uv run --python 3.14 --only-group docs -- \
149+
uv run --exact --python 3.14 --only-group docs -- \
150150
scripts/gen_ref_pages.py
151151
uv sync --exact
152152

153153
# Build the documentation
154154
build-docs: build-docs-ref
155-
uv run --python 3.14 --only-group docs -- \
155+
uv run --exact --python 3.14 --only-group docs -- \
156156
mkdocs build
157157
uv sync --exact
158158

159159
# Serve the documentation locally
160160
serve-docs: build-docs-ref
161-
uv run --python 3.14 --only-group docs -- \
161+
uv run --exact --python 3.14 --only-group docs -- \
162162
mkdocs serve
163163
uv sync --exact

0 commit comments

Comments
 (0)