Contributing
How to contribute to Matr1x
Did you find a bug or have a suggestion for improvement?
If you find a bug:
- Check if the issue already exists on GitHub
- If not, create an issue using the bug template.
- Follow the instructions and hints on the bug template.
Submitting Pull Requests
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with clear, descriptive messages.
- Format the code with
ruff formatand check it withruff checkandty check. - Ensure the new code passes the test suite:
pytest. - Push to your fork and submit a pull request to the
developmentbranch using Conventional Commits.
Development Setup
We recommend setting up your development environment using a uv virtual environment. Make sure your installation has all the required dependencies.
uv sync --all-extras --all-groupsCode Style
- Use meaningful variable and function names
- Add docstrings to functions and classes in numpy format
- Keep functions focused and concise
- The exact style guide is enforced by
ruff.
Questions?
Please open an issue for questions or discussions about contributing.