mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
docs: fix pre-commit setup instructions (#556)
Co-authored-by: vmexe <vmexe@users.noreply.github.com>
This commit is contained in:
@@ -90,8 +90,14 @@ starting a large change.
|
|||||||
|
|
||||||
Set up the clang-format hook after cloning:
|
Set up the clang-format hook after cloning:
|
||||||
|
|
||||||
```powershell
|
Install `pre-commit` using the method appropriate for your platform:
|
||||||
python -m pip install pre-commit
|
|
||||||
|
- **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
|
python -m pre_commit install --install-hooks
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user