Skip to content

Commit 270335d

Browse files
committed
Try different pip install pattern
1 parent 0fb2cf6 commit 270335d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache-dependency-path: pyproject.toml
2525
- name: Install dependencies
2626
run: |
27-
pip install --group dev
27+
pip install . --group dev
2828
- name: Optionally install numpy
2929
if: matrix.numpy == 1
3030
run: pip install numpy

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build:
1010
jobs:
1111
install:
1212
- pip install --upgrade pip
13-
- pip install --group docs
13+
- pip install . --group docs
1414

1515
formats:
1616
- pdf

Justfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,30 @@
33

44
# Run pytest with supplied options
55
@test *options:
6-
just run pytest {{options}}
6+
uv run pytest {{options}}
77

88
@run *options:
9-
uv run --isolated --with-editable '.[test,mypy,flake8,docs]' -- {{options}}
9+
uv run -- {{options}}
1010

1111
# Run linters: black, flake8, mypy, cog
1212
@lint:
1313
just run black . --check
14-
just run flake8
15-
just run mypy sqlite_utils tests
16-
just run cog --check README.md docs/*.rst
17-
just run codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt
14+
uv run flake8
15+
uv run mypy sqlite_utils tests
16+
uv run cog --check README.md docs/*.rst
17+
uv run --group docs codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt
1818

1919
# Rebuild docs with cog
2020
@cog:
21-
just run cog -r README.md docs/*.rst
21+
uv run --group docs cog -r README.md docs/*.rst
2222

2323
# Serve live docs on localhost:8000
2424
@docs: cog
2525
#!/usr/bin/env bash
2626
cd docs
27-
uv run --isolated --with-editable '../.[test,docs]' make livehtml
27+
uv run --group docs make livehtml
2828

2929

3030
# Apply Black
3131
@black:
32-
just run black .
32+
uv run black .

0 commit comments

Comments
 (0)