Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ In this guide, we're going to go through the steps for each kind of contribution

- [🐞 Bugs and Issues](#-bugs-and-issues)
- [🥇 Making Your First Submission](#-making-your-first-submission)
- [📝 Code style conventions](#-code-style-conventions)
- [☑️ Naming Conventions](#-naming-conventions)
- [💥 Testing DocArray Locally and on CI](#-testing-docarray-locally-and-on-ci)
- [📖 Contributing Documentation](#-contributing-documentation)
Expand Down Expand Up @@ -80,7 +81,7 @@ Now you will be automatically reminded to add docstrings to your code. `black` w

Run `git config blame.ignoreRevsFile .github/.git-blame-ignore-revs`

## Code style conventions:
## 📝 Code style conventions:

Most of our codebase is written in Python.

Expand Down Expand Up @@ -224,6 +225,14 @@ pip install ".[test]"
pytest -v -s tests
```

### Test policy

Every contribution that adds or modifies the behavior of a feature must include a suite of tests that validates that the feature works as expected.

This allows:
* the reviewer to be very confident that the feature does what it is supposed to do before merging it into the code base
* the contributors to be sure that they don't break already-merged features when refactoring or modifying the code base.

<a name="-contributing-documentation"></a>
## 📖 Contributing Documentation

Expand Down