Skip to content

Commit 373a437

Browse files
committed
Document pre-commit hooks installation
Signed-off-by: Federico Busetti <[email protected]>
1 parent 40117ad commit 373a437

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ previous python versions directly in the CI pipeline.
4949
* Clone the repository
5050
* Install poetry `pip install poetry`
5151
* Install dev dependencies with `make dev-dependencies`
52+
* (optional) It is strongly recommended to install [pre-commit](https://pre-commit.com/#installation)
53+
and run `pre-commit install` so that formatting and linting are automatically executed during `git commit`.
5254
* Setup GitHub pages (this need local development setup):
5355
* Initialise documentation branch `poetry run mike deploy dev latest --update-aliases --push`
5456
* Configure GitHub Pages to deploy from the `gh-pages` branch (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages`)

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ previous python versions directly in the CI pipeline.
3636
* Clone the repository
3737
* Install poetry `pip install poetry`
3838
* Install dev dependencies with `make dev-dependencies`
39+
* (optional) It is strongly recommended to install [pre-commit](https://pre-commit.com/#installation)
40+
and run `pre-commit install` so that formatting and linting are automatically executed during `git commit`.
3941
* Setup GitHub pages (this need local development setup):
4042
* Initialise documentation branch `poetry run mike deploy dev latest --update-aliases --push`
4143
* Configure GitHub Pages to deploy from the `gh-pages` branch (at URL `https://github.com/GITHUB_NAME_OR_ORGANIZATION/GITHUB_REPOSITORY/settings/pages`)

0 commit comments

Comments
 (0)