Tell contributors (and copilot) about the pre-commit hooks

This commit is contained in:
Klaas van Schelven
2025-07-29 12:18:29 +02:00
parent 3c00ab2da7
commit 00a686d103
3 changed files with 7 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ abstract generality. Python 3.12 is the standard environment.
* Bugsink uses Tailwind via `django-tailwind`
* Before committing, build the CSS and add it:
`python manage.py tailwind build && git add theme/static/css/dist/styles.css`
(this is done automatically if you use the pre-commit hook from the repo root)
##### Other

View File

@@ -24,6 +24,10 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Install project `pre-commit` hook
run: |
cp pre-commit .git/hooks/pre-commit
- name: Set up Python 3.12
uses: actions/setup-python@v5
with: