-
Notifications
You must be signed in to change notification settings - Fork 25
Setup
Nicolas Couture edited this page Apr 19, 2026
·
1 revision
Thank you for contributing to MockSSH! This guide helps you set up a robust development environment.
-
Clone and Venv:
git clone https://github.com/ncouture/MockSSH.git cd MockSSH python3 -m venv .venv source .venv/bin/activate pip install -e ".[dev]"
-
Git Hooks: Install the pre-commit hooks to ensure every commit meets our quality standards:
pre-commit install
-
Linting/Formatting: Powered by Ruff. Run
make fixto auto-format. -
Type Checking: Powered by mypy. Run
make typecheckto verify. -
Testing: Powered by pytest. Run
make test.
- All new code must include comprehensive type hints.
- All new features must be accompanied by an end-to-end test in the
tests/directory. - Follow the PEP 8 style guide (enforced by Ruff).