Contributing to SciTeX
Thank you for your interest in contributing to SciTeX. This guide covers the
process for reporting issues, suggesting features, and submitting code.
Contributor License Agreement
Before your first contribution can be merged, you must agree to the
SciTeX CLA. This is a one-time process. The CLA ensures that:
- You retain copyright of your work.
- The project can continue to offer dual licensing (free for researchers,
commercial for enterprises).
See CLA.md for full details.
Reporting Issues
- Search existing issues
before opening a new one. - Include a minimal reproducible example when reporting bugs.
- Specify your Python version, OS, and
scitexversion.
Development Setup
git clone [email protected]:ywatanabe1989/scitex-writer.git
cd scitex-writer
pip install -e ".[dev]"
Branch Workflow
main— stable releases only. Do not push directly.develop— integration branch. PRs target here.- Feature branches — create from
develop, name asfeature/<description>.
git checkout develop
git checkout -b feature/my-change
# ... make changes ...
git push origin feature/my-change
# Open PR targeting develop
Code Style
- Follow existing conventions in the codebase.
- Use
_prefix for internal/private modules and functions. - Keep files under 512 lines.
- Run tests before submitting:
pytest tests/ -x -q
Pull Request Process
- Ensure your branch is up to date with
develop. - Write tests for new functionality.
- Run the test suite and confirm all tests pass.
- Open a PR targeting
developwith a clear description. - The CLA bot will check your CLA status on your first PR.
License
By contributing, you agree to the terms of the CLA, which includes
licensing under AGPL-3.0 (see LICENSE) and the dual-licensing
provisions described therein.