Contributing guidelines¶
Contributing code¶
- (optional) Set up a Python development environment (advice: use venv, virtualenv, or miniconda)
- Clone the repository and install
geefetch - Start a new branch off the main branch:
git switch -c my-new-branch main - Make your code changes
- It's nice to have common formatting options. We use
ruffandflake8. You can use the nicepre-committool to adhere to the repository formatting guidelines. It's beautiful, it's easy and it's free, and you don't need to know any of the underlying tools. You can then use the code checking tools by hand or run them all at once with - Commit, push, and open a pull request!
Use the link in the output, which should look something like
git add file1 file2 file3 # add the modified files git commit -m "Short message to explain your changes" # commit your changes git push -u origin my-new-branch # change the branch name to the one you created in step 3.https://github.com/gbelouze/geefetch/compare/my-new-branch, and create a pull request. Someone else will review your code and merge it to the repository !