Contributing to EasyQuant¶
Thank you for your interest in contributing to EasyQuant! We welcome contributions of all kinds — bug reports, feature requests, documentation improvements, and code.
How to Contribute¶
Report Bugs¶
Use GitHub Issues to report bugs. Please include:
- A clear description of the bug
- Steps to reproduce (minimal example if possible)
- Expected vs. actual behavior
- Python version and
eqlibversion - Relevant log output or error messages
Suggest Features¶
Open a GitHub Issue to discuss new features before submitting a PR. This helps us align on scope and design.
Submit Pull Requests¶
- Fork the repo and create a feature branch (
git checkout -b feature/my-feature) - Make your changes — follow the existing code style
- Add or update tests in
tests/for any code changes - Run the test suite:
pytest tests/ -v - Commit with a clear message:
git commit -m "feat: add XYZ support" - Push and open a PR against
main
Code Style¶
- Follow PEP 8 conventions
- Use type hints where practical
- Keep functions focused and well-named
- Add docstrings for public API functions
Documentation¶
- Update
doc/ortutorials/for user-facing changes - Run
mkdocs build --strictlocally to verify docs build cleanly - Bilingual labels (中文/English) are preferred for doc headings
Development Setup¶
License¶
By contributing, you agree that your contributions will be licensed under the MIT License.