Those are the main contributing guidelines for contributing to this project:
conda
or pip
.This project is managed using Poetry, in order to contribute, the safest is to create your own fork of spleeter first and then setup your development environment:
# Clone spleeter repository fork
git clone https://github.com/<your_name>/spleeter && cd spleeter
# Install poetry
pip install poetry
# Install spleeter dependencies
poetry install
# Run unit test suite
poetry run pytest tests/
You can then make your changes and experiment freely. Once you're done, remember to check that the tests still run. If you've added a new feature, add tests!
Then finally, you're more than welcome to create a Pull Request in Spleeter main repo. We will look at it as soon as possible and eventually integrate your changes in the project.
Following command should be ran successfully before to consider a PR for merging:
poetry run pytest tests/
poetry run black spleeter
poetry run isort spleeter