mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 08:08:04 +01:00
Update pre-commit
This commit is contained in:
parent
4ff417eac1
commit
30774d0dca
2 changed files with 10 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
exclude: (\.min\.(js|css)(\.map)?$|/vendor/)
|
exclude: (\.min\.(js|css)(\.map)?$|/vendor/)
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.2.0
|
rev: v4.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
- id: check-json
|
- id: check-json
|
||||||
|
@ -25,26 +25,26 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.3.0
|
rev: 22.8.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v2.32.0
|
rev: v2.38.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args:
|
args:
|
||||||
- --py310-plus
|
- --py310-plus
|
||||||
- repo: https://github.com/adamchainz/django-upgrade
|
- repo: https://github.com/adamchainz/django-upgrade
|
||||||
rev: 1.5.0
|
rev: 1.10.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: django-upgrade
|
- id: django-upgrade
|
||||||
args: [--target-version, "4.0"]
|
args: [--target-version, "4.1"]
|
||||||
- repo: https://github.com/rtts/djhtml
|
- repo: https://github.com/rtts/djhtml
|
||||||
rev: v1.5.0
|
rev: v1.5.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: djhtml
|
- id: djhtml
|
||||||
- repo: https://github.com/flakeheaven/flakeheaven
|
- repo: https://github.com/flakeheaven/flakeheaven
|
||||||
rev: 0.11.0
|
rev: 3.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flakeheaven
|
- id: flakeheaven
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
@ -56,12 +56,12 @@ repos:
|
||||||
- flake8-noqa
|
- flake8-noqa
|
||||||
- flake8-pytest-style
|
- flake8-pytest-style
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v2.6.2
|
rev: v3.0.0-alpha.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
types_or: [javascript, css]
|
types_or: [javascript, css]
|
||||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||||
rev: v8.14.0
|
rev: v8.24.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: eslint
|
- id: eslint
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
|
|
@ -44,7 +44,7 @@ SECRET_KEY = env("SECRET_KEY")
|
||||||
|
|
||||||
admins = env("ADMINS")
|
admins = env("ADMINS")
|
||||||
if admins:
|
if admins:
|
||||||
ADMINS = list(map(lambda x: tuple(x.split("|")), admins))
|
ADMINS = [tuple(admin.split("|")) for admin in admins]
|
||||||
|
|
||||||
DEFAULT_FROM_EMAIL = "Checkout <checkout@mg.augendre.info>"
|
DEFAULT_FROM_EMAIL = "Checkout <checkout@mg.augendre.info>"
|
||||||
SERVER_EMAIL = "Checkout <checkout@mg.augendre.info>"
|
SERVER_EMAIL = "Checkout <checkout@mg.augendre.info>"
|
||||||
|
|
Loading…
Reference in a new issue