You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,24 @@ To install Hatch, just run `pip install hatch`.
18
18
19
19
You will also need to setup the `pre-commit` hooks. Run `pre-commit install` in the root directory of the repository. If you don't have `pre-commit` installed, you can install it with `pip install pre-commit`.
20
20
21
+
> **Note**
22
+
> Currently our protobuf files will be generated during `hatch build`
23
+
> Please run this command once, to generate all necessary files.
24
+
21
25
### Testing
22
26
23
-
Run tests by entering the package directory and running `hatch run test`.
27
+
Run tests by entering the package directory and running `hatch test`.
24
28
25
29
We use `pytest` for our unit testing, making use of `parametrized` to inject cases at scale.
26
30
27
31
### Integration tests
28
32
29
33
These are planned once the SDK has been stabilized and a Flagd provider implemented. At that point, we will utilize the [gherkin integration tests](https://github.com/open-feature/test-harness/blob/main/features/evaluation.feature) to validate against a live, seeded Flagd instance.
30
34
35
+
### Type checking
36
+
37
+
Run `mypy` by entering the package directory and running `hatch run mypy:run`.
38
+
31
39
## Pull Request
32
40
33
41
All contributions to the OpenFeature project are welcome via GitHub pull requests.
0 commit comments