This commit is contained in:
Matthew Farrellee 2025-10-03 14:11:23 +02:00 committed by GitHub
commit 41d0c885fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 1 deletions

View file

@ -42,7 +42,7 @@ uv run --env-file .env -- pytest -v tests/integration/inference/test_text_infere
We use [pre-commit](https://pre-commit.com/) to run linting and formatting checks on your code. You can install the pre-commit hooks by running:
```bash
uv run pre-commit install
uv run pre-commit install -t pre-commit -t commit-msg
```
After that, pre-commit hooks will run automatically before each commit.
@ -57,6 +57,8 @@ uv run pre-commit run --all-files
Before pushing your changes, make sure that the pre-commit hooks have passed successfully.
```
A note about API changes: We use a commit-msg hook and OpenAPI spec generation to detect API changes. When changing the API, you must add `[API CHANGE]` to your commit message to pass the check.
## Discussions -> Issues -> Pull Requests
We actively welcome your pull requests. However, please read the following. This is heavily inspired by [Ghostty](https://github.com/ghostty-org/ghostty/blob/main/CONTRIBUTING.md).