From 765366ee7bed57865afdcf23ee7323cc8b1cdcc6 Mon Sep 17 00:00:00 2001 From: Jelte Fennema-Nio Date: Thu, 19 Dec 2024 20:21:35 +0100 Subject: [PATCH] Add note about pre-commit hook --- README.md | 10 ++++++++++ dev_requirements.txt | 1 + 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 6153774..a379f53 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,13 @@ Finally, you're ready to start the application: Then open http://localhost:8007/admin to log in. Once redirected to the Django admin interface, go back to the main interface. You're now logged in. + +## Contributing + +Before committing make sure to install the git pre-commit hook to adhere to the +codestyle. + +```bash +ln -s ../../tools/githook/pre-commit .git/hooks/ + +``` diff --git a/dev_requirements.txt b/dev_requirements.txt index 3b878a3..cedd81c 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,2 +1,3 @@ -r requirements.txt uwsgi +pycodestyle -- 2.39.5