packaging: pyproject.toml (pip install) + .editorconfig + .clang-format#396
Merged
Merged
Conversation
Python packaging: - pyproject.toml: pip install colibri-engine (editable dev install works) - colibri/ package with __version__, CLI entry point delegating to c/coli - Optional dependency groups: [convert] (numpy, huggingface_hub), [oracle] (torch, transformers, safetensors), [bench] (tokenizers, datasets) Code style: - .editorconfig: consistent indent/charset across all file types - .clang-format: LLVM-based, 120 col, matches existing engine style Usage: pip install -e . # dev install (CLI + serve, no heavy deps) pip install -e .[convert] # adds converter dependencies pip install -e .[oracle] # adds torch/transformers for oracle validation
Merged
JustVugg
added a commit
that referenced
this pull request
Jul 19, 2026
packaging: pyproject + editorconfig + clang-format (#396) with a single version source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two quality-of-life additions for a 16k-star project:
1. Python packaging (
pip install colibri-engine)pyproject.tomlwith setuptools backend, version fromcolibri/_version.pycolibri/package: thin wrapper delegating to the existingc/coliscriptcolicommand works afterpip install2. Code style definitions
.editorconfig: consistent indent/charset/EOL for all editors.clang-format: LLVM-based, 120 columns, single-line short functions β matches the existing engine style without reformatting everythingThese are definitions only β no pre-commit hook or CI enforcement yet (that can be a follow-up once the team agrees on whether to enforce).
Test plan
pip install -e .βSuccessfully installed colibri-engine-1.0.0python3 -c "import colibri; print(colibri.__version__)"β1.0.0python3 -m colibri.cliβ banner printsπ¦ Generated with Claude Code