Skip to content

Commit 20bbd5f

Browse files
committed
convert to uv
1 parent 7c996a4 commit 20bbd5f

9 files changed

Lines changed: 1451 additions & 2592 deletions

File tree

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
use flake . --impure
2+
uv sync
3+
source .venv/bin/activate

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,4 @@ dmypy.json
125125

126126
#devenv
127127
.devenv
128+
.direnv

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.PHONY: docs
22
test:
3-
nix develop --impure . -c ./.venv/bin/pre-commit run --all-files --show-diff-on-failure
4-
nix develop --impure . -c ./.venv/bin/ruff check .
5-
nix develop --impure .#python39 -c ./.venv/bin/coverage run -m pytest
6-
nix develop --impure .#python310 -c ./.venv/bin/coverage run -m pytest
7-
nix develop --impure .#python311 -c ./.venv/bin/coverage run -m pytest
8-
nix develop --impure .#python312 -c ./.venv/bin/coverage run -m pytest
9-
nix develop --impure . -c ./.venv/bin/coverage report
3+
nix develop --impure . -c uv run pre-commit run --all-files --show-diff-on-failure
4+
nix develop --impure . -c uv run ruff check .
5+
nix develop --impure . -c uv run --managed-python --python 3.10 coverage run -m pytest
6+
nix develop --impure . -c uv run --managed-python --python 3.11 coverage run -m pytest
7+
nix develop --impure . -c uv run --managed-python --python 3.12 coverage run -m pytest
8+
nix develop --impure . -c uv run --managed-python --python 3.13 coverage run -m pytest
9+
nix develop --impure . -c uv run coverage report
1010
safety:
11-
nix develop --impure . -c ./.venv/bin/safety check --file=poetry.lock --full-report
11+
nix develop --impure . -c uv run safety check --file=uv.lock --full-report
1212
docs:
13-
nix develop --impure . -c ./.venv/bin/sphinx-build docs/source docs/_build
13+
nix develop --impure . -c uv run sphinx-build docs/source docs/_build

activate_env.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)