mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-21 22:18:04 +01:00
Compare commits
2 commits
d258915f8e
...
6fbd239d8f
Author | SHA1 | Date | |
---|---|---|---|
|
6fbd239d8f | ||
|
fe8aa8ffeb |
2 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ repos:
|
|||
- id: django-upgrade
|
||||
args: [--target-version, "4.1"]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.11.0
|
||||
rev: 23.12.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--target-version, py311]
|
||||
|
@ -40,17 +40,17 @@ repos:
|
|||
hooks:
|
||||
- id: djhtml
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.1.7
|
||||
rev: v0.1.8
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v4.0.0-alpha.4
|
||||
rev: v4.0.0-alpha.7
|
||||
hooks:
|
||||
- id: prettier
|
||||
types_or: [javascript, css]
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v8.55.0
|
||||
rev: v8.56.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
args: [--fix]
|
||||
|
|
|
@ -21,10 +21,10 @@ class Migration(migrations.Migration):
|
|||
null=True,
|
||||
upload_to="profile_pictures",
|
||||
validators=[
|
||||
functools.partial( # noqa: PIE804
|
||||
functools.partial(
|
||||
character.models.character.validate_image,
|
||||
*(),
|
||||
**{"megabytes_limit": 2},
|
||||
megabytes_limit=2,
|
||||
),
|
||||
],
|
||||
verbose_name="image de profil",
|
||||
|
|
Loading…
Reference in a new issue