First off, thank you for considering contributing to this project!
-
Clone the repository:
git clone https://github.com/vcoderun/vcode cd vcode -
Install dependencies using
uv:uv sync --extra dev --extra docs
pipfallback:pip install -e ".[dev,docs]" -
Install pre-commit hooks:
pre-commit install
We use a Makefile to simplify common tasks:
make format: Formats code usinguv run ruff format.make check: Runs the repo-default validation pass withuv.make check-matrix: Runsruff,ty, andbasedpyrightunder Python3.11,3.12, and3.13.make tests: Runs the test suite usinguv run pytest.make all: Runsmake formatthenmake check.make prod: Runsmake tests,make format, andmake check-matrix.
Before submitting a Pull Request, ensure make prod runs without errors.
- Create a new branch for your feature or bugfix.
- Commit your changes (your commit will be checked by
pre-commit). - Push to your branch and open a Pull Request.
- Ensure the CI workflows (GitHub Actions) pass.