Contributing to YAPSS
Thank you for considering contributing to YAPSS. Your help is vital for improving and maintaining this project.
How to Contribute
Reporting Bugs
If you find a bug, please report it by opening an issue.
Use a clear and descriptive title for the issue.
Describe the bug: Provide a clear and concise description of what the bug is.
Steps to reproduce: Explain the steps to reproduce the issue.
Expected behavior: Describe what you expected to happen.
Screenshots: If applicable, add screenshots to help explain the problem.
Environment: Include details about your setup (e.g., OS, Python version, dependencies).
Suggesting Enhancements
If you have an idea for an enhancement, please open an issue and describe:
Use a clear and descriptive title for the issue.
Describe the enhancement: Provide a clear and concise description of what you want to happen.
Explain why: Explain why this enhancement would be useful.
Code Contributions
Fork the repository and create your branch from
main, and clone the branch on your computer.Install dependencies:
Create and activate a virtual environment (e.g.,
venv).Install the required dependencies by running:
pip install ".[dev,doc]"
Write tests:
Add tests for your new code in the
tests/directory (usingpytest).Ensure your tests cover edge cases and validate the functionality of your contribution.
Run tests:
Verify all tests pass by running:
tox
toxwill automatically runpytest,mypy(for type-checking), andruff(for linting and formatting).Ensure no type errors or linting issues are present before submitting your PR.
Submit a pull request (PR):
Create a PR with a clear title and description of your changes.
A project maintainer will review your PR and may request changes before merging.
Ensure your branch is up-to-date with
mainbefore submitting the PR.
Coding Guidelines
Licensing
By contributing to YAPSS, you agree that your contributions will be licensed under the same license as the project (MIT License).
Communication
If you need help or have any questions, feel free to reach out by opening an issue.
Thank you for contributing to YAPSS!