File: CONTRIBUTING.md

package info (click to toggle)
python-mcstasscript 0.0.46%2Bgit20250402111921.bfa5a26-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,440 kB
  • sloc: python: 13,421; makefile: 14
file content (12 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# Guidelines for contributing to McStasScript

This document describes how to contribute to McStasScript. The preferred method is to open a pull request on the GitHub page. The list below acts as a checklist of things to consider before creating the pull request. Since the manual is currently on overleaf, there is no way to directly contribute, so a note on the necessary updates to the manual is appreciated.

* Provide docstrings to new functions / classes
* Update docstrings as necessary
* Adhere to PEP-8 where reasonable
* Include a unit test for new functionality
* Note for updates required to manual 
* Clear Jupyter Notebooks before committing
* Check CI tests passes
* Use flake8 to check code quality, reduce to reasonable number of issues