Skip to content

Commit f0e5f91

Browse files
committed
Use --frozen option in aliases
This helps to avoid updating `uv.lock` and to preserve the consistency of the development environment.
1 parent 15d7a1b commit f0e5f91

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

changelog.d/+alias.infra.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Use ``--frozen`` option in aliases to avoid updating :filename:`uv.lock`.
2+
Add new alias :command:`towncrier` (see :filename:`devel/activate-aliases.sh`).

devel/activate-aliases.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22

3-
alias upytest="uv run pytest"
4-
alias docbuild="uv run docbuild"
3+
alias upytest="uv run --frozen pytest"
4+
alias docbuild="uv run --frozen docbuild"
5+
alias towncrier="uv run --frozen towncrier"

0 commit comments

Comments
 (0)