- Create feature branches from
main. - Keep pull requests focused and small.
- Install dependencies:
poetry install --with dev
- Install pre-commit hooks:
poetry run pre-commit install
Run all checks before opening a pull request:
poetry run ruff check .
poetry run mypy src tests
poetry run pytest
poetry run pre-commit run --all-files- Add or update tests for any behavior change.
- Prefer unit tests for logic and integration tests for workflow-level validation.
- Keep documentation synchronized with code changes.
- Update both language sections when behavior or architecture changes:
docs/en/docs/ru/
- Linting passes (
ruff) - Type checks pass (
mypy) - Tests pass (
pytest) - Documentation updated when needed
- No large artifacts committed