We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1c0ff commit 5a56df3Copy full SHA for 5a56df3
1 file changed
developing.md
@@ -41,6 +41,31 @@ pytest
41
python -c "import procstar"
42
```
43
44
+## Pre-commit Hooks
45
+
46
+This project uses pre-commit hooks to automatically format and lint code before commits. The hooks include:
47
+- `ruff format` - Format Python code
48
+- `ruff check` - Lint Python code with auto-fixes
49
+- `cargo fmt` - Format Rust code
50
+- `cargo clippy` - Lint Rust code
51
52
+### Setup
53
54
+Pre-commit is already included as a dev dependency. To install the hooks:
55
56
+```bash
57
+uv run pre-commit install
58
+```
59
60
+### Manual Run
61
62
+To run all hooks on all files:
63
64
65
+uv run pre-commit run --all-files
66
67
68
+The hooks will automatically run before each commit and may modify files to fix formatting or linting issues.
69
70
# Packaging
71
0 commit comments