Compare commits

...

3 commits

Author SHA1 Message Date
bbbcd4730c
Merge pull request #106 from Crocmagnon/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-01-30 07:35:02 +01:00
pre-commit-ci[bot]
cf7dd52ad8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-29 21:06:26 +00:00
pre-commit-ci[bot]
40155a0c31
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1)
- [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.1 → v9.0.0-alpha.2](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-alpha.1...v9.0.0-alpha.2)
2024-01-29 21:06:10 +00:00
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