Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Contributing

Contributions to the OpenSense software ecosystem are very welcome! The packages follow a common development workflow, which is described in detail in the poligrain contributing guide.

Guidelines in brief

Typical workflow

  1. Fork and clone the repository you want to contribute to.

  2. Set up the dev environment: create a conda environment (Python 3.10 or 3.11) and install poetry, nox and pre-commit, then run poetry install.

  3. Write code and commit: activate the pre-commit hooks with pre-commit install, work on a feature branch, and commit regularly.

  4. Open a pull request: sync your fork with the upstream repository, push your branch, and open a PR. The CI will run linting and tests, and test coverage is reported automatically.

Running checks locally

For the full step-by-step guide, including details on writing tests and troubleshooting, see the complete contributing guide.