Contributing
Contributions to mioXpektron are welcome. This page explains how to set up a development environment and submit changes.
Development Setup
Fork and clone the repository:
git clone https://github.com/<your-username>/mioXpektron.git cd mioXpektron
Create a virtual environment and install in development mode:
python -m venv .venv source .venv/bin/activate # Linux/macOS pip install -e ".[dev,docs]"
Running Tests
pytest
Tests run with verbose output and coverage reporting by default (configured in
pyproject.toml).
Code Style
The project uses:
Black (line length 88) for formatting
isort (black-compatible profile) for import sorting
Ruff for linting
mypy for type checking
Run all checks:
black --check .
isort --check .
ruff check .
mypy mioXpektron
Building Documentation
cd docs
make html
open _build/html/index.html
Submitting Changes
Create a feature branch from
mainMake your changes with clear commit messages
Add or update tests for changed behavior
Ensure all checks pass
Open a pull request with a description of the changes
Guidelines
Follow existing code style and conventions
Keep changes focused — one feature or fix per PR
Add tests for new functionality
Update documentation for user-facing changes