Skip to content

Commit 3ceb239

Browse files
committed
docs: pre-commit install
1 parent 395a848 commit 3ceb239

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ poetry install
255255
You also need to install the git hooks that are configured for this repo:
256256

257257
```bash
258-
pre-commit install
258+
pre-commit install --install-hooks --hook-type pre-commit
259+
pre-commit install --install-hooks --hook-type commit-msg
259260
```
260261

261262
### Release management

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pydantic-settings = "^2.3.4"
2525
[tool.poetry.group.dev.dependencies]
2626
pytest = "^8.1.1"
2727
pytest-cov = "^5.0.0"
28-
pre-commit = "^3.7.1"
28+
pre-commit = "^4.2.0"
2929

3030
[tool.poetry.scripts]
3131
sc-audit = 'sc_audit.cli:cli'

0 commit comments

Comments
 (0)