Contributing¤
Nendo is a collaborative effort and we greatly appreciate any and all contributions and will always give credit to the authors.
Development environment setup¤
It's super easy to get started with the nendo development environment. Just make sure you are using a supported version of python (3.8
, 3.9
or 3.10
) and run the following command from your nendo/
directory:
make setup
Note: Developing for and with Nendo Core requires careful dependency management. The use of a python virtual environment like pyenv or poetry is highly recommended.
Development process¤
To start writing code, proceed as follows:
- create a new branch:
git checkout -b feature/feature-name
- For branches introducing new features, please use the
feauture/
prefix for your branch. - For branches submitting buxfixes, please use the
fix/
prefix for your branch.
- For branches introducing new features, please use the
- edit the code and/or the documentation
Before submitting a PR for review:
- run
make format
to auto-format the code - run
make check
to check everything (then fix any warning) - run
make test
to run the tests (then fix any issue) - if you updated the documentation or the project dependencies:
- run
make docs
- go to http://localhost:8000 and check that everything looks good
- run
- Once everything is looking smooth, create your Pull Request on github
Using poetry¤
If you want to use poetry:
- Install poetry
git clone git@github.com:okio-ai/nendo.git
cd nendo
make setup-poetry
Remember to also prepend poetry run
to all make
commands in order for them to work.