Skip to content

Commit 1cb90d9

Browse files
committed
Update Makefile
1 parent 1d71d8c commit 1cb90d9

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
default: install lint test
1010

1111
install:
12-
uv sync --all-extras --group lint
12+
uv sync --locked --group lint
1313

1414
lint:
15-
-codespell ./src
16-
-ruff check ./src
17-
-ruff format ./src
15+
-uv run codespell ./src
16+
-uv run ruff check ./src
17+
-uv run ruff format ./src
1818

1919
test:
20-
-schwab2pp example.csv test.csv
20+
-uv run schwab2pp example.csv test.csv
2121
-diff example_out.csv test.csv
2222

2323
upgrade:

development.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ make clean
3030
# Upgrade dependencies to compatible versions:
3131
make upgrade
3232
```
33+
34+
To test with a specific version of Python, use the [`UV_PYTHON`](https://docs.astral.sh/uv/configuration/environment/#uv_python) environment variable. For example,
35+
36+
```sh
37+
UV_PYTHON=3.8 make
38+
```
39+
40+
will install and use Python 3.8.

0 commit comments

Comments
 (0)