From dc24ff7a51e198bc79986ba57ba48bb30bb09812 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Wed, 26 Apr 2023 05:16:01 -0700 Subject: [PATCH] Update pre-commit use in PR template --- .github/pull_request_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e60f4c47..68c1a9a2 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,5 +4,5 @@ Fixes # This PR introduces/refactors/... ## Checklist before merging -- [ ] If it's a frontend feature, I have ran prettier `cd frontend; npm run format`. If it's a mobile app feature I ran `cd mobile; npm run format`. +- [ ] Install [pre-commit](https://pre-commit.com/#installation) and initialize it: `pip install pre-commit`, then `pre-commit install`. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out. - [ ] If I added new phrases to the user interface, I have ran prettier `cd frontend/static/locales; python collect_phrases.py` to collect them for translation. \ No newline at end of file