Thanks for your interest in contributing to cpp-linter-hooks!
You'll need Python 3.10+ and uv.
git clone https://github.com/cpp-linter/cpp-linter-hooks.git
cd cpp-linter-hooks
uv sync
source .venv/bin/activate
pre-commit install# Run all tests
pytest
# With coverage
coverage run -m pytest && coverage reportWe use ruff for linting and formatting. The pre-commit hooks installed above will check your code automatically on commit. You can also run them manually:
pre-commit run --all-files- Create a branch from
main - Make your changes and add tests
- Run
pytestto make sure everything passes - Open a pull request against
main
PRs should have a clear description of what changed and why. Reference any related issues.
Releases are tagged by maintainers. Versioning follows setuptools-scm — the version is derived from git tags automatically.