Pamela Fox
commited on
Commit
·
cf09f56
1
Parent(s):
d355703
Reformat files and update hooks
Browse files- .pre-commit-config.yaml +3 -3
- src/quizsite/urls.py +1 -0
.pre-commit-config.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
repos:
|
| 2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 3 |
-
rev: v4.
|
| 4 |
hooks:
|
| 5 |
- id: check-yaml
|
| 6 |
- id: end-of-file-fixer
|
| 7 |
- id: trailing-whitespace
|
| 8 |
- repo: https://github.com/psf/black
|
| 9 |
-
rev:
|
| 10 |
hooks:
|
| 11 |
- id: black
|
| 12 |
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
| 13 |
-
rev: v0.
|
| 14 |
hooks:
|
| 15 |
- id: ruff
|
|
|
|
| 1 |
repos:
|
| 2 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 3 |
+
rev: v4.5.0
|
| 4 |
hooks:
|
| 5 |
- id: check-yaml
|
| 6 |
- id: end-of-file-fixer
|
| 7 |
- id: trailing-whitespace
|
| 8 |
- repo: https://github.com/psf/black
|
| 9 |
+
rev: 24.1.1
|
| 10 |
hooks:
|
| 11 |
- id: black
|
| 12 |
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
| 13 |
+
rev: v0.1.15
|
| 14 |
hooks:
|
| 15 |
- id: ruff
|
src/quizsite/urls.py
CHANGED
|
@@ -13,6 +13,7 @@ Including another URLconf
|
|
| 13 |
1. Import the include() function: from django.urls import include, path
|
| 14 |
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
| 15 |
"""
|
|
|
|
| 16 |
from django.conf import settings
|
| 17 |
from django.contrib import admin
|
| 18 |
from django.urls import include, path
|
|
|
|
| 13 |
1. Import the include() function: from django.urls import include, path
|
| 14 |
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
| 15 |
"""
|
| 16 |
+
|
| 17 |
from django.conf import settings
|
| 18 |
from django.contrib import admin
|
| 19 |
from django.urls import include, path
|