Skip to content

Commit 0d85c34

Browse files
authored
chore: move all dev-only optional dependencies under dev (#752)
1 parent 7139e0d commit 0d85c34

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
hooks:
2929
- id: maturin-develop
3030
name: maturin develop
31-
entry: maturin develop -E all
31+
entry: maturin develop -E all,dev
3232
language: system
3333
files: ^(python/|src/|Cargo\.toml|pyproject\.toml)
3434
pass_filenames: false

docs/docs/about/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ Following the steps below to get cocoindex build on latest codebase locally - if
4646
4747
- Install required tools:
4848
```sh
49-
pip install maturin mypy pre-commit
49+
pip install maturin
5050
```
5151
5252
- Build the library. Run at the root of cocoindex directory:
5353
```sh
54-
maturin develop
54+
maturin develop -E all,dev
5555
```
5656
5757
- Install and enable pre-commit hooks. This ensures all checks run automatically before each commit:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ module-name = "cocoindex._engine"
2929
features = ["pyo3/extension-module"]
3030

3131
[project.optional-dependencies]
32-
test = ["pytest"]
33-
dev = ["ruff", "pre-commit"]
32+
dev = ["pytest", "ruff", "mypy", "pre-commit"]
3433
embeddings = ["sentence-transformers>=3.3.1"]
3534
all = ["cocoindex[embeddings]"]
3635

0 commit comments

Comments
 (0)