Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
hooks:
- id: maturin-develop
name: maturin develop
entry: maturin develop -E all
entry: maturin develop -E all,dev
language: system
files: ^(python/|src/|Cargo\.toml|pyproject\.toml)
pass_filenames: false
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/about/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ Following the steps below to get cocoindex build on latest codebase locally - if

- Install required tools:
```sh
pip install maturin mypy pre-commit
pip install maturin
```

- Build the library. Run at the root of cocoindex directory:
```sh
maturin develop
maturin develop -E all,dev
```

- Install and enable pre-commit hooks. This ensures all checks run automatically before each commit:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ module-name = "cocoindex._engine"
features = ["pyo3/extension-module"]

[project.optional-dependencies]
test = ["pytest"]
dev = ["ruff", "pre-commit"]
dev = ["pytest", "ruff", "mypy", "pre-commit"]
embeddings = ["sentence-transformers>=3.3.1"]
all = ["cocoindex[embeddings]"]

Expand Down
Loading