From 4a1c293606349de48ab849ac45e285863bb0bd5f Mon Sep 17 00:00:00 2001 From: Alexandr Bulanov Date: Tue, 15 Oct 2024 11:49:06 +0300 Subject: [PATCH] [DI-2709] Update docs Co-authored-by: Denys Chura <38692483+denys-chura@users.noreply.github.com> --- {{ cookiecutter.project_slug }}/docs/pre_commit_hook.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{ cookiecutter.project_slug }}/docs/pre_commit_hook.md b/{{ cookiecutter.project_slug }}/docs/pre_commit_hook.md index 4ddac6f..734bc5f 100644 --- a/{{ cookiecutter.project_slug }}/docs/pre_commit_hook.md +++ b/{{ cookiecutter.project_slug }}/docs/pre_commit_hook.md @@ -7,8 +7,8 @@ Since the `api` is running inside docker container we don't have a pre-commit as install `pre-commit` package [manually](https://pre-commit.com/#install). > [!NOTE] -> The `safety` hook also requires `poetry` to be in your `PATH`. -> Ensure the poetry installed with the same python version as in `pyproject.toml` +> The `safety` hook also [requires](https://github.com/Lucas-C/pre-commit-hooks-safety?tab=readme-ov-file#supported-files) `poetry` to be in your `PATH`. +> Ensure the poetry [installed](https://python-poetry.org/docs/#installation) with the same python version as in `pyproject.toml` You need to generate the actual git pre-commit hook. It should be done only once: