Contributing to phicloudmask
π€
We welcome contributions from the community! Every contribution, no matter how small, is appreciated and credited. Hereβs how you can get involved:
How to contribute π οΈ
-
Fork the repository: Start by forking the phicloudmask repository to your GitHub account. π΄
-
Clone your fork locally:
cd <directory_in_which_repo_should_be_created> git clone https://github.com/IPL-UV/phicloudmask.git cd phicloudmask
-
Set up your local environment: π±
- If you're using
pyenv
, select a Python version:pyenv local <x.y.z>
- Install dependencies and activate the environment:
poetry install poetry shell
- Install pre-commit hooks:
poetry run pre-commit install
- If you're using
-
Create a branch for your changes: ποΈ
git checkout -b name-of-your-bugfix-or-feature
-
Make your changes: Develop your feature or fix, ensuring to write clear, concise commit messages and include any necessary tests.
-
Run checks on your changes: β
- Run formatting checks:
make check
- Run unit tests:
make test
- Optionally, run tests across different Python versions using tox:
tox
- Run formatting checks:
-
Commit your changes and push your branch: π
git add . git commit -m "Your detailed description of your changes." git push origin name-of-your-bugfix-or-feature
-
Submit a pull request: Go to your repository on GitHub and create a pull request to the
main
branch of thephicloudmask
repository. Make sure your pull request meets the following guidelines:- Include tests for your changes.
- Update documentation if your pull request adds functionality.
- Provide a detailed description of your changes.
Types of contributions π¦
- Report Bugs: π Report bugs by creating an issue on the phicloudmask GitHub repository. Please include:
- Your operating system name and version.
- Details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
- Fix Bugs: π οΈ Look through the GitHub issues for bugs tagged with "bug" and "help wanted". These are open for anyone who wants to contribute a fix.
- Implement Features: β¨ Help implement new features by checking issues tagged with "enhancement" and "help wanted".
- Write Documentation: π
phicloudmask
can always benefit from improved documentation. You can contribute by enhancing the official documentation, writing clear docstrings, or even creating blog posts and tutorials.
- Submit Feedback: π¬ Propose new features or provide feedback by filing an issue on the phicloudmask GitHub repository.
- If you propose a new feature, please explain in detail how it would work and keep the scope narrow to make implementation easier.
- Remember that this is a community-driven project, and every bit of feedback is valuable!
Get Started! π
Ready to contribute? Follow the steps above to set up phicloudmask
for local development and start making your mark on the project. Weβre excited to see what youβll contribute!