From 3dc9f33643b3d3b8b888c79735e6109cb21bfc40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 21:27:25 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../migrations/0039_alter_character_profile_picture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/character/migrations/0039_alter_character_profile_picture.py b/src/character/migrations/0039_alter_character_profile_picture.py index e001656..3110e2f 100644 --- a/src/character/migrations/0039_alter_character_profile_picture.py +++ b/src/character/migrations/0039_alter_character_profile_picture.py @@ -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",