Compare commits

..

No commits in common. "6fbd239d8fa89d9fba32fee62afe2e48dbf4c8c1" and "d258915f8e3a087c1b746bf3790b146d272f7207" have entirely different histories.

2 changed files with 6 additions and 6 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.0
rev: 23.11.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.8
rev: v0.1.7
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.7
rev: v4.0.0-alpha.4
hooks:
- id: prettier
types_or: [javascript, css]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.56.0
rev: v8.55.0
hooks:
- id: eslint
args: [--fix]

View file

@ -21,10 +21,10 @@ class Migration(migrations.Migration):
null=True,
upload_to="profile_pictures",
validators=[
functools.partial(
functools.partial( # noqa: PIE804
character.models.character.validate_image,
*(),
megabytes_limit=2,
**{"megabytes_limit": 2},
),
],
verbose_name="image de profil",