From 820b8fefdc0b42a644dc5af2cc564169d0534db4 Mon Sep 17 00:00:00 2001 From: Aetias Date: Mon, 6 Jan 2025 17:27:31 +0100 Subject: [PATCH] pre-commit: Install instructions --- INSTALL.md | 8 ++++++-- tools/requirements.txt | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index e6df2e4b..45113307 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -21,11 +21,15 @@ Contents: ```shell python -m pip install -r tools/requirements.txt ``` -4. Run the setup script: +4. Install pre-commit hooks: +```shell +pre-commit install +``` +5. Run the setup script: ```shell python tools/setup.py ``` -5. Run the Ninja configure script: +6. Run the Ninja configure script: ```shell python tools/configure.py ``` diff --git a/tools/requirements.txt b/tools/requirements.txt index 7edbb58e..4682190e 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -1,2 +1,3 @@ +pre-commit pyperclip requests