[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
parent 2c7adf01c2
commit 3dc9f33643

View file

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