docs: fix pre-commit setup instructions (#556)

Co-authored-by: vmexe <vmexe@users.noreply.github.com>
This commit is contained in:
Vandvmexe authored and GitHub committed 2026-09-12 14:58:34 +04:00
1 parent 7bcd43dbee
commit a58db4f023
1 file changed
+8 -2
+8 -2
View File
@@ -90,8 +90,14 @@ starting a large change.
Set up the clang-format hook after cloning:
```powershell
python -m pip install pre-commit
Install `pre-commit` using the method appropriate for your platform:
- **Arch Linux / CachyOS:** `sudo pacman -S pre-commit`
- **Other Linux / macOS / Windows:** `python -m pip install pre-commit`
Then install the Git hook:
```bash
python -m pre_commit install --install-hooks
```