Fix pre-commit #18

Merged
k.marinus merged 4 commits from build/fix-pre-commit into dev 2025-11-02 19:56:31 +00:00
Showing only changes of commit e025b14610 - Show all commits

View File

@@ -51,7 +51,15 @@ uv run --group integration-test pytest test/integration
To activate automatic linting, formatting, branch name checks and commit message checks, run:
```shell
```bash
uv run pre-commit install
uv run pre-commit install --hook-type commit-msg
```
You might get an error along the lines of `Can't install pre-commit with core.hooksPath` set. To fix this, simply unset the hooksPath by running:
```bash
git config --local --unset core.hooksPath
```
Then run the pre-commit install commands again.