Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Pre-commit

on:
push:
branches:
- master
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.11'

- uses: pre-commit/action@v3.0.1
4 changes: 2 additions & 2 deletions website/apps/core/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


class CoreConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.core'
default_auto_field = "django.db.models.BigAutoField"
name = "apps.core"
1 change: 1 addition & 0 deletions website/manage.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""

import os
import sys

Expand Down
2 changes: 1 addition & 1 deletion website/website/settings/components/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"CLIENT_CLASS": "django_redis.client.DefaultClient",
},
}
}
}
Loading