Skip to content

Commit e6e503f

Browse files
authored
Merge pull request #12 from structured-world/fix/#11-ci-editable-install
fix(ci): install workspace packages as editable + fix lint
2 parents 2a63dd0 + a9f5964 commit e6e503f

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
python-version: ${{ matrix.python-version }}
3838

3939
- name: Install dependencies
40-
run: uv sync
40+
run: uv sync --all-packages
4141

4242
- name: Generate proto stubs
4343
run: uv run make proto
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Install + generate proto
8282
run: |
83-
uv sync
83+
uv sync --all-packages
8484
uv run make proto
8585
8686
- name: Integration tests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ lint:
5454
ruff format --check coordinode/ langchain-coordinode/ llama-index-coordinode/ tests/
5555

5656
clean:
57-
rm -rf $(PROTO_OUT)/coordinode
57+
rm -rf $(PROTO_OUT)
5858
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
5959
find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
6060
find . -type d -name dist -exec rm -rf {} + 2>/dev/null || true

coordinode/_proto/__init__.py

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

ruff.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ target-version = "py311"
33

44
exclude = [
55
# Generated proto stubs — do not lint
6-
"coordinode/_proto/",
6+
"coordinode/coordinode/_proto/",
7+
# Generated version files — do not lint
8+
"**/_version.py",
79
]
810

911
[lint]
1012
select = ["E", "F", "I", "W", "UP"]
1113
ignore = [
1214
"E501", # line length handled by formatter
1315
]
16+
17+
[lint.isort]
18+
known-first-party = ["coordinode", "langchain_coordinode", "llama_index_coordinode"]

0 commit comments

Comments
 (0)