Contributing
We welcome contributions to mets! This document outlines the process for contributing to this project.
Setting up your development environment
Fork the repository on GitLab.
Clone your fork locally:
git clone https://gitlab.com/your-username/mets.git cd mets
Create a virtual environment and install the development dependencies:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate` pip install -e .[test]
Running tests
We use pytest for our test suite. To run the tests:
pytest
Coding standards
We follow PEP 8 for code style. Please ensure your code adheres to these standards.
We use Black for code formatting. Before submitting a pull request, please run:
black src/mets
Submitting changes
Create a new branch for your changes:
git checkout -b name-of-your-bugfix-or-feature
Make your changes and commit them:
git commit -m "Your detailed description of your changes."
Push your branch to GitLab:
git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitLab website.
Thank you for your contributions!