Development¶
This section covers development setup and contribution guidelines.
Topics¶
- Contributing - How to contribute to janito
Prerequisites¶
- Python 3.6+
- Git
- GitHub CLI (optional)
Quick Setup¶
# Clone the repository
git clone https://github.com/ikignosis/janito.git
cd janito
# Install dependencies
pip install -r requirements.txt
# Install in development mode
pip install -e .
Running from Source¶
Testing¶
# Run all tests
pytest
# Run with coverage
pytest --cov=janito
# Run specific test file
pytest tests/test_core.py
Version Management¶
janito uses setuptools-scm for automatic versioning.
- Version is derived from the latest git tag
- To release a new version:
Code Style¶
- 4 spaces for indentation
- Follow PEP 8 guidelines
- Add type hints where possible
- Write docstrings for public functions/classes
Next Steps¶
Read the Contributing guide to learn how to submit changes.