Contributing
June 30, 2026 ยท View on GitHub
Contributions are welcome. Please follow the guidelines below to keep the project consistent and maintainable.
Development Setup
-
Fork the repository and clone your fork.
-
Create a virtual environment.
-
Install the project in editable mode with development dependencies:
pip install -e ".[dev]"
Running Tests
pytest
To run a specific test file:
pytest tests/test_models.py
Linting and Formatting
ruff check .
ruff format .
Type Checking
mypy behave_modern_console_report
Code Style
- Use Python 3.11+ type hints.
- Prefer dataclasses for data models.
- Write Google-style docstrings.
- Keep formatters thin and place business logic in the Collector and Render layers.
- Add tests for new behavior.
Submitting Changes
- Create a feature branch.
- Make your changes with clear, focused commits.
- Ensure all tests pass and linting is clean.
- Open a pull request with a description of the change and the motivation.
Reporting Issues
If you find a bug or have a feature request, please open an issue on GitHub with a clear description and, if possible, steps to reproduce.