Skip to content

Commit 765366e

Browse files
JelteFmhagander
authored andcommitted
Add note about pre-commit hook
1 parent 7cd0c6e commit 765366e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,13 @@ Finally, you're ready to start the application:
5959

6060
Then open http://localhost:8007/admin to log in. Once redirected to the Django
6161
admin interface, go back to the main interface. You're now logged in.
62+
63+
## Contributing
64+
65+
Before committing make sure to install the git pre-commit hook to adhere to the
66+
codestyle.
67+
68+
```bash
69+
ln -s ../../tools/githook/pre-commit .git/hooks/
70+
71+
```

dev_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-r requirements.txt
22
uwsgi
3+
pycodestyle

0 commit comments

Comments
 (0)