From 247f8c1c4593aa04ae674ed223761cbcc00b012c Mon Sep 17 00:00:00 2001 From: leafspark <78000825+leafspark@users.noreply.github.com> Date: Sun, 4 Aug 2024 21:03:39 -0700 Subject: [PATCH] docs: update pre commit instructions --- CONTRIBUTING.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f2de692..8c31a3e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,9 +19,11 @@ ### Your First Code Contribution 1. Fork the repo 2. Create your feature branch (`git checkout -b feature/AmazingFeature`) -3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) -4. Push to the branch (`git push origin feature/AmazingFeature`) -5. Open a Pull Request +3. Install pre-commit: (`pip install pre-commit`) +4. Set up the git hook scripts: (`pre-commit install`) +5. Commit your changes (`git commit -m 'Add some AmazingFeature'`) +6. Push to the branch (`git push origin feature/AmazingFeature`) +7. Open a Pull Request ## Styleguides