From 10b4e4e6118c7c82bfd786ebfcd8b45453ea8013 Mon Sep 17 00:00:00 2001 From: Kevin Hooke <kh816@cam.ac.uk> Date: Fri, 14 Mar 2025 13:10:08 +0000 Subject: [PATCH] fix: minor typo fixes --- docs/howtos/development/setup-pre-commit-hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/howtos/development/setup-pre-commit-hooks.md b/docs/howtos/development/setup-pre-commit-hooks.md index c77b1d49..8d047a4b 100644 --- a/docs/howtos/development/setup-pre-commit-hooks.md +++ b/docs/howtos/development/setup-pre-commit-hooks.md @@ -60,7 +60,7 @@ After adding a `.pre-commit-config.yaml` or modifying it, the following should b set-up the hooks: ```sh -pre-commit-install +pre-commit install ``` ## Testing pre-commit hooks @@ -124,7 +124,7 @@ with latest releases of the plugins): To ensure your Java source is formatted consistently, use the [google-java-format](https://gitlab.developers.cam.ac.uk/uis/devops/continuous-delivery/precommit-google-java-format) pre-commit hook by adding the following to your -`.pre-commit-config.yaml` in the root of your project (a): +`.pre-commit-config.yaml` in the root of your project(s): ```yaml - repo: https://gitlab.developers.cam.ac.uk/uis/devops/continuous-delivery/precommit-google-java-format -- GitLab