Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 2.29 KB

CONTRIBUTING.md

File metadata and controls

48 lines (36 loc) · 2.29 KB

Contributing to MolPy

Thank you for your interest in contributing to MolPy!

The full contributor handbook lives in the documentation — this file is just the entry point, so the rules have a single home and cannot drift:

  • Development Setup — clone, editable install, pre-commit hooks, running tests
  • Contributing Workflow — branches, conventional commits, the PR checklist
  • Coding Style — ruff formatting, type hints, Google-style docstrings, the mutation contract
  • Testing — pytest conventions, markers, coverage expectations
  • Architecture Overview — module map and extension points, read before larger changes

Quick start

molpy lives in the molrs repository, at molpy/. Fork that repository, then:

git clone https://github.com/YOUR_USERNAME/molpy.git
cd molpy
molci doctor --install-hooks
molci run python
molci run docs

Hooks and CI

Every gate is implemented in MolCrafts CI, called by the hooks and by CI alike; molci verify (the pre-push hook) requires them all, reusing valid successes. The Python ones are python (build one molpy wheel from the checkout, check types and run the whole Python suite on it), types (molpy/python/molpy/_core.pyi against the compiled module) and docs (this manual, --strict). CI runs python on every OS leg of test / python and docs in test / docs. Never git commit --no-verify or git push --no-verify, and never merge a red pull request. Releases are frozen until the molpy-unification API fold (release process).

Code of Conduct

This project adheres to a Code of Conduct that all contributors are expected to follow. Please read CODE_OF_CONDUCT.md before contributing.

Questions?