Merge pull request #106 from Crocmagnon/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Gabriel Augendre 2024-01-30 07:35:02 +01:00 committed by GitHub
commit bbbcd4730c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -31,7 +31,7 @@ repos:
- id: django-upgrade
args: [--target-version, "4.1"]
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
args: [--target-version, py311]
@ -50,7 +50,7 @@ repos:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v9.0.0-alpha.1
rev: v9.0.0-alpha.2
hooks:
- id: eslint
args: [--fix]

View file

@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
import os
from pathlib import Path

View file

@ -13,6 +13,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('checkout/', include('checkout.urls'))
"""
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path