Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ See [docs/development.md](docs/development.md) for full setup instructions. Key
python -m venv .venv
source .venv/bin/activate
make install-dev
make style # Run before submitting
make style # Run before submitting
make fast-test # Quick test suite
```

Optionally, `make install-pre-commit` installs git hooks so ruff and mypy run on `git commit`. Hooks do not replace `make style`: they run on staged files, while CI runs `make style` across the tree.

## Coding Standards

- Run `make style` before submitting a pull request
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Once you have activated your virtual environment, you can install the dependenci
make install-dev
```

Optionally, you can use pre-commit to automatically run linters/formatters:
Optionally, `make install-pre-commit` installs git hooks so ruff and mypy run on `git commit`. Hooks do not replace `make style`: they run on staged files, while CI runs `make style` across the tree.

```bash
make install-pre-commit
Expand Down
Loading