Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
Nothing easier!
Fork and clone the repository, then:
cd stimulus-py
make setup
NOTE: If it fails for some reason, you'll need to install uv manually.
You can install it with:
curl -LsSf https://astral.sh/uv/install.sh | sh
Now you can try running
make setup
again, or simplyuv sync
.
You now have the dependencies installed.
Run make help
to see all the available actions!
The entry-point to run commands and tasks is the make
Python script,
located in the scripts
directory. Try running make
to show the available commands and tasks.
The commands do not need the Python dependencies to be installed,
while the tasks do.
The cross-platform tasks are written in Python, thanks to duty.
If you work in VSCode, we provide an action to configure VSCode for the project.
As usual:
- create a new branch:
git switch -c feature-or-bugfix-name
- edit the code and/or the documentation
Before committing:
- run
make format
to auto-format the code - run
make check
to check everything (fix any warning) - run
make test
to run the tests (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
Then you can pull request and we will review. Make sure you join our slack hosted on nf-core to talk and build with us!