Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.75 KB

CONTRIBUTING.rst

File metadata and controls

35 lines (24 loc) · 1.75 KB

Contributing to ixmp development

We appreciate contributions to the code base and development of new features for the platform. Please open a new issue on Github to raise questions concerning potential bugs or to propose new features. Existing open and resolved/closed issues may already contain a solution.

For contributions to the code base of the platform, please open a GitHub “pull request,” including a detailed description of the new feature and unit tests to illustrate the intended functionality. All pull requests will be reviewed by the ixmp maintainers or developers.

Contributors are required to sign the :doc:`contributor_license` before any pull request can be reviewed. This ensures that all future users can benefit from your contribution, and that your contributions do not infringe on anyone else's rights. The electronic signature is collected via the cla-assistant when issuing the pull request.

Coding style

Code submitted via pull requests must adhere to the following style:

  • Python: follow PEP 8.
  • R: follow the style of the existing code base.
  • Jupyter notebooks (.ipynb):
    • Commit 'bare' notebooks, with no cell output. Notebooks will be run and rendered when the documentation is generated.
  • Documentation (.rst, .md):
    • Do not hard-wrap lines. Start each sentence on a new line.
  • Other (file names, CLI, etc.): follow the style of the existing code base.