|
| 1 | +# CONTRIBUTING |
| 2 | + |
| 3 | +<!-- the following line is used by tool to autogenerate Table of Content when the document is changed --> |
| 4 | +<!-- vim-markdown-toc GFM --> |
| 5 | + |
| 6 | +* [TLDR;](#tldr) |
| 7 | +* [Setting up your development environment](#setting-up-your-development-environment) |
| 8 | +* [Definition of Done](#definition-of-done) |
| 9 | + * [A deliverable is to be considered “done” when](#a-deliverable-is-to-be-considered-done-when) |
| 10 | +* [Automation](#automation) |
| 11 | + * [Pre-commit hook settings](#pre-commit-hook-settings) |
| 12 | + * [Code coverage measurement](#code-coverage-measurement) |
| 13 | + * [Type hints checks](#type-hints-checks) |
| 14 | + * [Linters](#linters) |
| 15 | + * [Security checks](#security-checks) |
| 16 | +* [Testing](#testing) |
| 17 | + * [Tips and hints for developing unit tests](#tips-and-hints-for-developing-unit-tests) |
| 18 | + * [Patching](#patching) |
| 19 | + * [Verifying that some exception is thrown](#verifying-that-some-exception-is-thrown) |
| 20 | + * [Checking what was printed and logged to stdout or stderr by the tested code](#checking-what-was-printed-and-logged-to-stdout-or-stderr-by-the-tested-code) |
| 21 | + * [Tips and hints for developing e2e tests](#tips-and-hints-for-developing-e2e-tests) |
| 22 | + * [Detecting which statements are called in real service](#detecting-which-statements-are-called-in-real-service) |
| 23 | +* [Benchmarks](#benchmarks) |
| 24 | + * [Running benchmarks](#running-benchmarks) |
| 25 | + * [`pytest-benchmark` package](#pytest-benchmark-package) |
| 26 | + * [Basic usage of `benchmark` fixture](#basic-usage-of-benchmark-fixture) |
| 27 | + * [Combination of `benchmark` fixture with other fixtures](#combination-of-benchmark-fixture-with-other-fixtures) |
| 28 | + * [Example output from benchmarks](#example-output-from-benchmarks) |
| 29 | +* [Updating Dependencies](#updating-dependencies) |
| 30 | +* [Code style](#code-style) |
| 31 | + * [Docstrings style](#docstrings-style) |
| 32 | +* [Adding a new provider/model](#adding-a-new-providermodel) |
| 33 | + |
| 34 | +<!-- vim-markdown-toc --> |
| 35 | + |
| 36 | +## TLDR; |
| 37 | + |
| 38 | +1. Create your own fork of the repo |
| 39 | +2. Make changes to the code in your fork |
| 40 | +3. Run unit tests and integration tests |
| 41 | +4. Check the code with linters |
| 42 | +5. Submit PR from your fork to main branch of the project repo |
| 43 | + |
| 44 | + |
0 commit comments