Skip to content

Contributing

The canonical guide is CONTRIBUTING.md in the repo. The essentials:

Setup

git clone https://github.com/Ajimaru/OctoPrint-BambuCam.git
cd OctoPrint-BambuCam
python -m venv .venv && source .venv/bin/activate
pip install -e ".[develop]"
pip install pytest pytest-cov pre-commit
npm install --no-save
pre-commit install

Code style

All run automatically via pre-commit:

pre-commit run --all-files

Pull request standards

  • One logical change per PR — don't mix features with refactors.
  • New behaviour must be covered by tests.
  • Update the relevant docs (README, docstrings, this site).
  • Add a CHANGELOG.md entry under Unreleased.
  • Imperative commit subjects, ≤ 72 chars.

Code of Conduct

All interactions follow the Code of Conduct.

Licensing

Contributions are licensed under AGPL-3.0-or-later.