[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-12-18 21:27:25 +00:00 committed by crocmagnon-pr[bot]
parent fe8aa8ffeb
commit 6fbd239d8f

View file

@ -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",