Skip to content

Commit 3843c46

Browse files
authored
Merge pull request #57 from tisnik/contributing-guide
Contributing guide
2 parents 4e5cb48 + a40d8a5 commit 3843c46

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

CONTRIBUTING.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ LLM tooling stack
2626

2727
# Contributing
2828

29+
* See [contributors](CONTRIBUTING.md) guide.
30+
2931
# License
32+
33+
Published under the Apache 2.0 License

0 commit comments

Comments
 (0)