Thank you for contributing to Vimini! This document outlines guidelines and instructions for contributing to the project.
- Python 3.11+ (Python 3.14 recommended)
- Vim or Neovim with Python 3 support
pytestfor running testsrufffor code formatting
You can install the development dependencies using pip:
pip install ruff pytest google-genaiAll Python code in this project must be formatted using Ruff.
To ensure predictable and consistent code outcomes, our Continuous Integration (CI) runs a format check on every push and pull request.
-
Check formatting locally:
ruff format --check . -
Automatically format code:
ruff format .
If you are using Vimini's agent tools, you can also use the fix_format tool to automatically format the code.
A GitHub Actions CI workflow runs automatically on pull requests and pushes to main/master. It checks that all Python files adhere to ruff format --check ..
Please ensure that ruff format --check . passes locally before opening a pull request or submitting code.
Run the test suite using pytest:
pytestTo run a specific test file or test case:
pytest tests/test_command_config.py
pytest -k <test_name>Please make sure all existing tests pass and add new tests when introducing changes or bug fixes.