summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2025-01-06 17:27:31 +0100
committerAetias <aetias@outlook.com>2025-01-06 17:27:31 +0100
commit820b8fefdc0b42a644dc5af2cc564169d0534db4 (patch)
tree443dbedf41523fd027adea15b5182fada56d5503
parent53bd73e89c73f18ec8788baf45f43c0fdb02e145 (diff)
pre-commit: Install instructions
-rw-r--r--INSTALL.md8
-rw-r--r--tools/requirements.txt1
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 <eur|usa>
```
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